From 5f9e849c81edb7953588f0d81ca075bf9fc45b0a Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 8 Mar 2008 11:41:22 -0800 Subject: [PATCH] --- yaml --- r: 87058 b: refs/heads/master c: 6efcae460186c0c1c94afff58a92784e1fc0d10b h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/kernel/exit.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index a2fb76a21537..18241cb79a33 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 84c6f6046c5a2189160a8f0dca8b90427bf690ea +refs/heads/master: 6efcae460186c0c1c94afff58a92784e1fc0d10b diff --git a/trunk/kernel/exit.c b/trunk/kernel/exit.c index cd20bf07e9e3..53872bf993fa 100644 --- a/trunk/kernel/exit.c +++ b/trunk/kernel/exit.c @@ -1378,7 +1378,7 @@ static int wait_task_stopped(struct task_struct *p, if (!retval && infop) retval = put_user(0, &infop->si_errno); if (!retval && infop) - retval = put_user(why, &infop->si_code); + retval = put_user((short)why, &infop->si_code); if (!retval && infop) retval = put_user(exit_code, &infop->si_status); if (!retval && infop)