* [uml-devel] [PATCH 9/20] UML - Add newlines to printks
@ 2008-01-17 21:40 ` Jeff Dike
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Dike @ 2008-01-17 21:40 UTC (permalink / raw)
To: Andrew Morton; +Cc: LKML, uml-devel
Some printks were missing newlines.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
---
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;
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 9/20] UML - Add newlines to printks
@ 2008-01-17 21:40 ` Jeff Dike
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Dike @ 2008-01-17 21:40 UTC (permalink / raw)
To: Andrew Morton; +Cc: uml-devel, LKML
Some printks were missing newlines.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
---
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;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-01-17 21:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-17 21:40 [uml-devel] [PATCH 9/20] UML - Add newlines to printks Jeff Dike
2008-01-17 21:40 ` Jeff Dike
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.