negative error code for ECHILD

This commit is contained in:
Balazs Gerofi bgerofi@riken.jp
2014-05-19 13:04:09 +09:00
parent 22d9d6d3a6
commit 2fead93f10

View File

@ -306,7 +306,7 @@ rescan:
if (empty) {
ihk_mc_spinlock_unlock_noirq(&proc->ftn->lock);
return ECHILD;
return -ECHILD;
}
if (child) {