summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/stand/libbug/inchr.c
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2007-02-19 20:01:13 +0000
committerRay Lai <ray@cvs.openbsd.org>2007-02-19 20:01:13 +0000
commitfbc515e6584e89b4fc701399cf7b2b6937130266 (patch)
tree31ba07cacb9e9962b4c79c07b55a037e557ad1cf /sys/arch/mvme88k/stand/libbug/inchr.c
parent30500acc82cecce626e7f1295956b30fa50491d5 (diff)
- Check for fgets failure.
- Pass sizeof(buf) to fgets. - Only print what was read. - Simplify error checking while printing bigrams. Inspired by diff from Charles Longeau <chl at tuxfamily dot org> long ago. OK millert@ and moritz@.
Diffstat (limited to 'sys/arch/mvme88k/stand/libbug/inchr.c')
0 files changed, 0 insertions, 0 deletions