procfs: indicate stopped (T) in status
This commit is contained in:
parent
6c88956fa4
commit
3d2e94d387
@ -138,7 +138,9 @@ static uint32_t proc_status_func(fs_node_t *node, uint32_t offset, uint32_t size
|
||||
return 0;
|
||||
}
|
||||
|
||||
char state = proc->finished ? 'Z' : (process_is_ready(proc) ? 'R' : 'S');
|
||||
char state = proc->finished ? 'Z' :
|
||||
(proc->suspended ? 'T' :
|
||||
(process_is_ready(proc) ? 'R' : 'S'));
|
||||
char * name = proc->name + strlen(proc->name) - 1;
|
||||
|
||||
while (1) {
|
||||
|
Loading…
Reference in New Issue
Block a user