summaryrefslogtreecommitdiffstats
path: root/sys/dev/sequencer.c
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>1999-07-23 13:14:32 +0000
committeraaron <aaron@openbsd.org>1999-07-23 13:14:32 +0000
commit31ee1d2a4886873296393fddf5ec4ee3bbc8d4a4 (patch)
treeeb280aa1578a588754ac6a6e87d7fb1ab3515df0 /sys/dev/sequencer.c
parentdo not print media information to dmesg; ifconfig shows it (diff)
downloadwireguard-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