summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-19 22:35:35 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-19 22:35:35 +0000
commitc1ca9fed73a101965a2fcad946591e6949f7f162 (patch)
tree3bc274f260c8c7338b63a9152583115892ce5514
parent16ac9629f58ec59c117d8d08445a61449ad425e0 (diff)
use fseeko; millert ok
-rw-r--r--libexec/comsat/comsat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/comsat/comsat.c b/libexec/comsat/comsat.c
index b9c2c121c5d..11b1c25b12c 100644
--- a/libexec/comsat/comsat.c
+++ b/libexec/comsat/comsat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: comsat.c,v 1.27 2003/06/02 19:38:24 millert Exp $ */
+/* $OpenBSD: comsat.c,v 1.28 2003/06/19 22:35:34 deraadt Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -37,7 +37,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)comsat.c 8.1 (Berkeley) 6/4/93";*/
-static char rcsid[] = "$OpenBSD: comsat.c,v 1.27 2003/06/02 19:38:24 millert Exp $";
+static char rcsid[] = "$OpenBSD: comsat.c,v 1.28 2003/06/19 22:35:34 deraadt Exp $";
#endif /* not lint */
#include <sys/limits.h>
@@ -281,7 +281,7 @@ jkfprintf(FILE *tp, char name[], off_t offset)
if ((fi = fopen(name, "r")) == NULL)
return;
- (void)fseek(fi, offset, SEEK_SET);
+ (void)fseeko(fi, offset, SEEK_SET);
/*
* Print the first 7 lines or 560 characters of the new mail
* (whichever comes first). Skip header crap other than