diff options
author | cperciva <cperciva@FreeBSD.org> | 2010-12-29 05:13:21 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2010-12-29 05:13:21 +0000 |
commit | 83176a34645a1df8d5383963324f71a7b7c3a195 (patch) | |
tree | c2d336ad5a469f8d0c561c2e36311ff4e7edcd07 /sys/kern/sched_4bsd.c | |
parent | be4347d563ece6ea2a91db1d4377cdfd8abfd220 (diff) | |
download | FreeBSD-src-83176a34645a1df8d5383963324f71a7b7c3a195.zip FreeBSD-src-83176a34645a1df8d5383963324f71a7b7c3a195.tar.gz |
A lack of console input is not the same thing as a byte of \0 input.
Correctly return -1 from cngetc when no input is available to be read.
This fixes the '(CTRL-C to abort)' spam while dumping.
MFC after: 3 days
Diffstat (limited to 'sys/kern/sched_4bsd.c')
0 files changed, 0 insertions, 0 deletions