From 56e57775e75da8dffc7306b2f41b737408517cb3 Mon Sep 17 00:00:00 2001 From: NAKAMURA Gou Date: Fri, 18 Sep 2015 14:13:01 +0900 Subject: [PATCH] clone: fix error message --- kernel/syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/syscall.c b/kernel/syscall.c index 067e6580..282fd96c 100644 --- a/kernel/syscall.c +++ b/kernel/syscall.c @@ -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; }