2008-01-17 21:41:39

by Jeff Dike

[permalink] [raw]
Subject: [PATCH 9/20] UML - Add newlines to printks

Some printks were missing newlines.

Signed-off-by: Jeff Dike <[email protected]>
---
arch/um/os-Linux/skas/process.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Index: linux-2.6.22/arch/um/os-Linux/skas/process.c
===================================================================
--- linux-2.6.22.orig/arch/um/os-Linux/skas/process.c 2007-12-19 13:13:54.000000000 -0500
+++ linux-2.6.22/arch/um/os-Linux/skas/process.c 2007-12-19 13:14:16.000000000 -0500
@@ -273,7 +273,7 @@ int start_userspace(unsigned long stub_s
if (stack == MAP_FAILED) {
err = -errno;
printk(UM_KERN_ERR "start_userspace : mmap failed, "
- "errno = %d", errno);
+ "errno = %d\n", errno);
return err;
}

@@ -289,7 +289,7 @@ int start_userspace(unsigned long stub_s
if (pid < 0) {
err = -errno;
printk(UM_KERN_ERR "start_userspace : clone failed, "
- "errno = %d", errno);
+ "errno = %d\n", errno);
return err;
}

@@ -298,7 +298,7 @@ int start_userspace(unsigned long stub_s
if (n < 0) {
err = -errno;
printk(UM_KERN_ERR "start_userspace : wait failed, "
- "errno = %d", errno);
+ "errno = %d\n", errno);
goto out_kill;
}
} while (WIFSTOPPED(status) && (WSTOPSIG(status) == SIGVTALRM));
@@ -306,7 +306,7 @@ int start_userspace(unsigned long stub_s
if (!WIFSTOPPED(status) || (WSTOPSIG(status) != SIGSTOP)) {
err = -EINVAL;
printk(UM_KERN_ERR "start_userspace : expected SIGSTOP, got "
- "status = %d", status);
+ "status = %d\n", status);
goto out_kill;
}