summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>1997-10-26 00:41:51 +0000
committerJohn Polstra <jdp@FreeBSD.org>1997-10-26 00:41:51 +0000
commit11ea2762ebb2a63ea051e522e95837700de85d17 (patch)
treeaf81a5f311ee8f8359b5f3fe28d502daf542954a /lib/libc
parent3673dc01e70e23d5fcb748331b7f2e453ca550e5 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/getcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/getcap.c b/lib/libc/gen/getcap.c
index a7de28836d64..0295984d4e1e 100644
--- a/lib/libc/gen/getcap.c
+++ b/lib/libc/gen/getcap.c
@@ -241,7 +241,7 @@ getent(cap, len, db_array, fd, name, depth, nfield)
*/
if (fd >= 0) {
- (void)lseek(fd, (off_t)0, L_SET);
+ (void)lseek(fd, (off_t)0, SEEK_SET);
myfd = 0;
} else {
(void)snprintf(pbuf, sizeof(pbuf), "%s.db", *db_p);