diff options
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index cd20bf07e9e3..53872bf993fa 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -1378,7 +1378,7 @@ unlock_sig: | |||
1378 | if (!retval && infop) | 1378 | if (!retval && infop) |
1379 | retval = put_user(0, &infop->si_errno); | 1379 | retval = put_user(0, &infop->si_errno); |
1380 | if (!retval && infop) | 1380 | if (!retval && infop) |
1381 | retval = put_user(why, &infop->si_code); | 1381 | retval = put_user((short)why, &infop->si_code); |
1382 | if (!retval && infop) | 1382 | if (!retval && infop) |
1383 | retval = put_user(exit_code, &infop->si_status); | 1383 | retval = put_user(exit_code, &infop->si_status); |
1384 | if (!retval && infop) | 1384 | if (!retval && infop) |