clone: fix error message

This commit is contained in:
NAKAMURA Gou
2015-09-18 14:13:01 +09:00
parent b3b752ba41
commit 56e57775e7

View File

@@ -1903,7 +1903,7 @@ unsigned long do_fork(int clone_flags, unsigned long newsp,
if (((clone_flags & CLONE_VM) && !(clone_flags & CLONE_THREAD)) ||
(!(clone_flags & CLONE_VM) && (clone_flags & CLONE_THREAD))) {
kprintf("%s: ERROR: CLONE_VM and CLONE_THREAD should be set together\n");
kprintf("clone(): ERROR: CLONE_VM and CLONE_THREAD should be set together\n");
return -EINVAL;
}