diff options
author | 1999-07-23 13:14:32 +0000 | |
---|---|---|
committer | 1999-07-23 13:14:32 +0000 | |
commit | 31ee1d2a4886873296393fddf5ec4ee3bbc8d4a4 (patch) | |
tree | eb280aa1578a588754ac6a6e87d7fb1ab3515df0 /sys/dev/sequencer.c | |
parent | do not print media information to dmesg; ifconfig shows it (diff) | |
download | wireguard-openbsd-31ee1d2a4886873296393fddf5ec4ee3bbc8d4a4.tar.xz wireguard-openbsd-31ee1d2a4886873296393fddf5ec4ee3bbc8d4a4.zip |
- Use strtol() instead of atoi() so head(1) will complain when given bad
number specifications like: head -123foobar456. Also, check for ERANGE and
abort if strtol() returned LONG_MAX or LONG_MIN.
- Don't exit() when encountering a filename in argv[] that can't be open;
instead just continue.
- Don't keep decrementing `linecnt' if we've hit the end of the file.
millert@ ok
Diffstat (limited to 'sys/dev/sequencer.c')
0 files changed, 0 insertions, 0 deletions