1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Initialise the status variable. W_SETTERMSIG uses its value.

Submitted by:	stefanf
This commit is contained in:
Hartmut Brandt 2005-02-10 14:32:14 +00:00
parent b83d741b1c
commit 96089951e4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=141647

View File

@ -1340,6 +1340,7 @@ JobRestart(Job *job)
* actually put the thing in the job table.
*/
job->flags |= JOB_CONTINUING;
status = 0;
W_SETTERMSIG(&status, SIGCONT);
JobFinish(job, &status);