diff options
Diffstat (limited to 'console.c')
-rw-r--r-- | console.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -397,7 +397,7 @@ console_read(int minor, char *dst, int n) acquire(&kbd_lock); while(n > 0){ while(kbd_r == kbd_w){ - if(curproc[cpu()]->killed){ + if(cp->killed){ release(&kbd_lock); return -1; } |