diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-02-04 19:18:54 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-02-04 19:18:54 +0100 |
commit | 32dcfafb3b8cdc22641254d50571b8be1d33fae3 (patch) | |
tree | 731b327a7ca9f9ca0b832c30ab24a8ab505c8b9e /kern/task.c | |
parent | e6f93609728d0ad864fc2d7dacd9df128eccd37a (diff) |
Fix comstart when the queue is empty
Found by Coverity
* i386/i386at/com.c (comstart): Make `nch' an int. When `getc' returns
-1, just return.
Diffstat (limited to 'kern/task.c')
0 files changed, 0 insertions, 0 deletions