diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-07-16 20:02:26 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-07-16 20:02:26 +0000 |
commit | b6cbffb06a4474d066fcdd6ebdd85f362937a458 (patch) | |
tree | cb24d6fc34d3c0dc63b0355952bf1b45fc561ebf /usr.sbin | |
parent | 0101027dbb028e13b06315ee353e5b141c1fbcc0 (diff) |
correct lseek arguments; from Moritz Jodeit <moritz@jodeit.org> via PR/2822.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/afs/src/milko/lib/vstatus/vstatus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/afs/src/milko/lib/vstatus/vstatus.c b/usr.sbin/afs/src/milko/lib/vstatus/vstatus.c index 7fd943bc6a9..d1a0ca5def0 100644 --- a/usr.sbin/afs/src/milko/lib/vstatus/vstatus.c +++ b/usr.sbin/afs/src/milko/lib/vstatus/vstatus.c @@ -73,7 +73,7 @@ vstatus_read (int fd, vstatus *v) } len = VSTATUS_SIZE; - ret = lseek (fd, SEEK_SET, 0); + ret = lseek (fd, 0, SEEK_SET); if (ret) { ret = errno; goto err_out; @@ -129,7 +129,7 @@ vstatus_write (int fd, vstatus *v) } len = VSTATUS_SIZE; - ret = lseek (fd, SEEK_SET, 0); + ret = lseek (fd, 0, SEEK_SET); if (ret) { ret = errno; goto err_out; |