diff options
author | 2002-07-16 20:02:25 +0000 | |
---|---|---|
committer | 2002-07-16 20:02:25 +0000 | |
commit | fa584a803e45e239f56b9d2aacf269c4b24311f8 (patch) | |
tree | ad0dd1f5377f7ceb093822fc03e788087ce03326 | |
parent | correct memset arguments; from Moritz Jodeit <moritz@jodeit.org> via PR/2822. (diff) | |
download | wireguard-openbsd-fa584a803e45e239f56b9d2aacf269c4b24311f8.tar.xz wireguard-openbsd-fa584a803e45e239f56b9d2aacf269c4b24311f8.zip |
correct lseek arguments; from Moritz Jodeit <moritz@jodeit.org> via PR/2822.
-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; |