don't try to fseek to before the beginning of the file;
authorflipk <flipk@openbsd.org>
Mon, 3 Mar 1997 03:25:10 +0000 (03:25 +0000)
committerflipk <flipk@openbsd.org>
Mon, 3 Mar 1997 03:25:10 +0000 (03:25 +0000)
commit5ac84c996e24c5005ad9be09f8921e1502b0cb96
treee400fb3db01d10d7d7ee46a0fa8215406f9b76ed
parentf9af46301b22dc7d1682a34ef58e1ec83ef6b9fe
don't try to fseek to before the beginning of the file;
showed up after the fix to sys_lseek concerning negative offsets.
avoids '/var/account/acct: Invalid argument' messages.
usr.bin/lastcomm/lastcomm.c