Change L_SET to SEEK_SET for POSIX compliance.

Submitted by:	Dean Gaudet <dgaudet@arctic.org>
This commit is contained in:
jdp 1997-10-26 00:41:51 +00:00
parent e067e9d378
commit 4a1714d904

View File

@ -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);