diff options
| author | christos <christos@NetBSD.org> | 2007-09-09 12:20:27 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2007-09-09 12:20:27 +0000 |
| commit | c3b08dc40f5d1456ebb8c1219ef9b6782dc5a654 (patch) | |
| tree | 298c984c19ceeebe85561a0bee60029fab87e0fd /usr.bin/script/script.c | |
| parent | 6fc16fbc88ccafdfbc63aa2293d23521641724a8 (diff) | |
PR/36955: Ighighi: Use fseeko instead of fseek.
Diffstat (limited to 'usr.bin/script/script.c')
| -rw-r--r-- | usr.bin/script/script.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/script/script.c b/usr.bin/script/script.c index da48b677464..4cace199717 100644 --- a/usr.bin/script/script.c +++ b/usr.bin/script/script.c @@ -1,4 +1,4 @@ -/* $NetBSD: script.c,v 1.14 2007/08/20 03:44:17 christos Exp $ */ +/* $NetBSD: script.c,v 1.15 2007/09/09 12:20:27 christos Exp $ */ /* * Copyright (c) 1980, 1992, 1993 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1992, 1993\n\ #if 0 static char sccsid[] = "@(#)script.c 8.1 (Berkeley) 6/6/93"; #endif -__RCSID("$NetBSD: script.c,v 1.14 2007/08/20 03:44:17 christos Exp $"); +__RCSID("$NetBSD: script.c,v 1.15 2007/09/09 12:20:27 christos Exp $"); #endif /* not lint */ #include <sys/types.h> @@ -310,7 +310,7 @@ consume(FILE *fscript, off_t len, char *buf, int reg) size_t l; if (reg) { - if (fseek(fscript, len, SEEK_CUR) == -1) + if (fseeko(fscript, len, SEEK_CUR) == -1) err(1, NULL); } else { |
