uml-driver-formatting-fixes-fix
authorAndrew Morton <[email protected]>
Sun, 6 May 2007 21:51:03 +0000 (14:51 -0700)
committerLinus Torvalds <[email protected]>
Mon, 7 May 2007 19:13:00 +0000 (12:13 -0700)
Cc: Jeff Dike <[email protected]>
Cc: Paolo 'Blaisorblade' Giarrusso <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/um/drivers/chan_user.c

index 77d3fdb0c21aa8544ae4df69f5ff992ffa4c8166..ed24eab647dd8c0bbfc913cae1425fe62fbb8a85 100644 (file)
@@ -158,7 +158,7 @@ static int winch_tramp(int fd, struct tty_struct *tty, int *fd_out)
         */
        err = run_helper_thread(winch_thread, &data, CLONE_FILES, &stack, 0);
        if(err < 0){
-               printk("fork of winch_thread failed - errno = %d\n", err);
+               printk("fork of winch_thread failed - errno = %d\n", -err);
                goto out_close;
        }