diff options
author | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2007-09-10 14:29:54 +0000 |
---|---|---|
committer | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2007-09-10 14:29:54 +0000 |
commit | 4bb6947b738392d059ccec81a601802f2a3f67e1 (patch) | |
tree | 6a47a9a7c15a9808ef0d3524f9dd977949038843 /sbin | |
parent | e617d3130f4ee9ff3df5781cfc30d5a8c8d9a52c (diff) |
Proper use of fseek/fseeko macros.
OK joris@, otto@
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/dump/itime.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/dump/itime.c b/sbin/dump/itime.c index eb5f5be36ff..d68349f6d08 100644 --- a/sbin/dump/itime.c +++ b/sbin/dump/itime.c @@ -1,4 +1,4 @@ -/* $OpenBSD: itime.c,v 1.15 2007/06/03 20:16:08 millert Exp $ */ +/* $OpenBSD: itime.c,v 1.16 2007/09/10 14:29:53 tobias Exp $ */ /* $NetBSD: itime.c,v 1.4 1997/04/15 01:09:50 lukem Exp $ */ /*- @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)itime.c 8.1 (Berkeley) 6/5/93"; #else -static const char rcsid[] = "$OpenBSD: itime.c,v 1.15 2007/06/03 20:16:08 millert Exp $"; +static const char rcsid[] = "$OpenBSD: itime.c,v 1.16 2007/09/10 14:29:53 tobias Exp $"; #endif #endif /* not lint */ @@ -179,7 +179,7 @@ putdumptime(void) dthead = 0; ddates_in = 0; readdumptimes(df); - if (fseek(df, 0L, 0) < 0) + if (fseek(df, 0L, SEEK_SET) < 0) quit("fseek: %s\n", strerror(errno)); spcl.c_ddate = 0; ITITERATE(i, dtwalk) { |