diff options
-rw-r--r-- | arch/um/drivers/chan_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/chan_user.c b/arch/um/drivers/chan_user.c index 77d3fdb0c21a..ed24eab647dd 100644 --- a/arch/um/drivers/chan_user.c +++ b/arch/um/drivers/chan_user.c | |||
@@ -158,7 +158,7 @@ static int winch_tramp(int fd, struct tty_struct *tty, int *fd_out) | |||
158 | */ | 158 | */ |
159 | err = run_helper_thread(winch_thread, &data, CLONE_FILES, &stack, 0); | 159 | err = run_helper_thread(winch_thread, &data, CLONE_FILES, &stack, 0); |
160 | if(err < 0){ | 160 | if(err < 0){ |
161 | printk("fork of winch_thread failed - errno = %d\n", err); | 161 | printk("fork of winch_thread failed - errno = %d\n", -err); |
162 | goto out_close; | 162 | goto out_close; |
163 | } | 163 | } |
164 | 164 | ||