From 1d2927c9fac7bcfe68bf6ab502c716adc91d6f09 Mon Sep 17 00:00:00 2001 From: jdp Date: Sun, 26 Oct 1997 00:41:51 +0000 Subject: Change L_SET to SEEK_SET for POSIX compliance. Submitted by: Dean Gaudet --- lib/libc/gen/getcap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc/gen/getcap.c') diff --git a/lib/libc/gen/getcap.c b/lib/libc/gen/getcap.c index a7de288..0295984 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); -- cgit v1.1