diff options
-rw-r--r-- | usr.bin/diff/diffdir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/diff/diffdir.c b/usr.bin/diff/diffdir.c index 89b9a0a9cc3..4e0b8da1e75 100644 --- a/usr.bin/diff/diffdir.c +++ b/usr.bin/diff/diffdir.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diffdir.c,v 1.5 2003/06/25 03:29:46 deraadt Exp $ */ +/* $OpenBSD: diffdir.c,v 1.6 2003/06/25 03:32:11 deraadt Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. @@ -419,7 +419,7 @@ ascii(int f) int cnt; char *cp; - lseek(f, 0, 0); + lseek(f, (off_t)0, SEEK_SET); cnt = read(f, buf, BUFSIZ); cp = buf; while (--cnt >= 0) |