Skip to content

Commit

Permalink
uml: add newlines to printks
Browse files Browse the repository at this point in the history
Some printks were missing newlines.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed Feb 5, 2008
1 parent 95906b2 commit b549883
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arch/um/os-Linux/skas/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ int start_userspace(unsigned long stub_stack)
if (stack == MAP_FAILED) {
err = -errno;
printk(UM_KERN_ERR "start_userspace : mmap failed, "
"errno = %d", errno);
"errno = %d\n", errno);
return err;
}

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

Expand All @@ -298,15 +298,15 @@ int start_userspace(unsigned long stub_stack)
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));

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;
}

Expand Down

0 comments on commit b549883

Please sign in to comment.