diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/shell/ash.c b/shell/ash.c index 02545f565..bfdd94047 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -3392,12 +3392,13 @@ struct job { | |||
3392 | #if JOBS | 3392 | #if JOBS |
3393 | int stopstatus; /* status of a stopped job */ | 3393 | int stopstatus; /* status of a stopped job */ |
3394 | #endif | 3394 | #endif |
3395 | uint32_t | 3395 | unsigned nprocs; /* number of processes */ |
3396 | nprocs: 16, /* number of processes */ | 3396 | |
3397 | state: 8, | ||
3398 | #define JOBRUNNING 0 /* at least one proc running */ | 3397 | #define JOBRUNNING 0 /* at least one proc running */ |
3399 | #define JOBSTOPPED 1 /* all procs are stopped */ | 3398 | #define JOBSTOPPED 1 /* all procs are stopped */ |
3400 | #define JOBDONE 2 /* all procs are completed */ | 3399 | #define JOBDONE 2 /* all procs are completed */ |
3400 | unsigned | ||
3401 | state: 8, | ||
3401 | #if JOBS | 3402 | #if JOBS |
3402 | sigint: 1, /* job was killed by SIGINT */ | 3403 | sigint: 1, /* job was killed by SIGINT */ |
3403 | jobctl: 1, /* job running under job control */ | 3404 | jobctl: 1, /* job running under job control */ |