summaryrefslogtreecommitdiffstats
path: root/sys/kern/sched_4bsd.c
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2010-12-29 05:13:21 +0000
committercperciva <cperciva@FreeBSD.org>2010-12-29 05:13:21 +0000
commit83176a34645a1df8d5383963324f71a7b7c3a195 (patch)
treec2d336ad5a469f8d0c561c2e36311ff4e7edcd07 /sys/kern/sched_4bsd.c
parentbe4347d563ece6ea2a91db1d4377cdfd8abfd220 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud