diff options
author | Ray Lai <ray@cvs.openbsd.org> | 2007-02-19 20:01:13 +0000 |
---|---|---|
committer | Ray Lai <ray@cvs.openbsd.org> | 2007-02-19 20:01:13 +0000 |
commit | fbc515e6584e89b4fc701399cf7b2b6937130266 (patch) | |
tree | 31ba07cacb9e9962b4c79c07b55a037e557ad1cf /sys/arch | |
parent | 30500acc82cecce626e7f1295956b30fa50491d5 (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')
0 files changed, 0 insertions, 0 deletions