提交 b5498832 编写于 作者: J Jeff Dike 提交者: Linus Torvalds

uml: add newlines to printks

Some printks were missing newlines.
Signed-off-by: NJeff Dike <jdike@linux.intel.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 95906b24
...@@ -273,7 +273,7 @@ int start_userspace(unsigned long stub_stack) ...@@ -273,7 +273,7 @@ int start_userspace(unsigned long stub_stack)
if (stack == MAP_FAILED) { if (stack == MAP_FAILED) {
err = -errno; err = -errno;
printk(UM_KERN_ERR "start_userspace : mmap failed, " printk(UM_KERN_ERR "start_userspace : mmap failed, "
"errno = %d", errno); "errno = %d\n", errno);
return err; return err;
} }
...@@ -289,7 +289,7 @@ int start_userspace(unsigned long stub_stack) ...@@ -289,7 +289,7 @@ int start_userspace(unsigned long stub_stack)
if (pid < 0) { if (pid < 0) {
err = -errno; err = -errno;
printk(UM_KERN_ERR "start_userspace : clone failed, " printk(UM_KERN_ERR "start_userspace : clone failed, "
"errno = %d", errno); "errno = %d\n", errno);
return err; return err;
} }
...@@ -298,7 +298,7 @@ int start_userspace(unsigned long stub_stack) ...@@ -298,7 +298,7 @@ int start_userspace(unsigned long stub_stack)
if (n < 0) { if (n < 0) {
err = -errno; err = -errno;
printk(UM_KERN_ERR "start_userspace : wait failed, " printk(UM_KERN_ERR "start_userspace : wait failed, "
"errno = %d", errno); "errno = %d\n", errno);
goto out_kill; goto out_kill;
} }
} while (WIFSTOPPED(status) && (WSTOPSIG(status) == SIGVTALRM)); } while (WIFSTOPPED(status) && (WSTOPSIG(status) == SIGVTALRM));
...@@ -306,7 +306,7 @@ int start_userspace(unsigned long stub_stack) ...@@ -306,7 +306,7 @@ int start_userspace(unsigned long stub_stack)
if (!WIFSTOPPED(status) || (WSTOPSIG(status) != SIGSTOP)) { if (!WIFSTOPPED(status) || (WSTOPSIG(status) != SIGSTOP)) {
err = -EINVAL; err = -EINVAL;
printk(UM_KERN_ERR "start_userspace : expected SIGSTOP, got " printk(UM_KERN_ERR "start_userspace : expected SIGSTOP, got "
"status = %d", status); "status = %d\n", status);
goto out_kill; goto out_kill;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部