summaryrefslogtreecommitdiff
path: root/bin/ed
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2008-02-12 07:57:30 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2008-02-12 07:57:30 +0000
commitfcc1f8f34fbcc1e14af42fb69c7e206c509c3d54 (patch)
tree30d476888edef620e68e32c86d0c41ce01d21888 /bin/ed
parent5521edf57bcc1cb3cbc103e85954f06a0eb3f9b4 (diff)
use ftello instead of ftell; from Davil Hill; ok millert@
Diffstat (limited to 'bin/ed')
-rw-r--r--bin/ed/buf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ed/buf.c b/bin/ed/buf.c
index e15df61af56..0fa9735b7e1 100644
--- a/bin/ed/buf.c
+++ b/bin/ed/buf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: buf.c,v 1.17 2006/04/25 15:41:07 deraadt Exp $ */
+/* $OpenBSD: buf.c,v 1.18 2008/02/12 07:57:29 otto Exp $ */
/* $NetBSD: buf.c,v 1.15 1995/04/23 10:07:28 cgd Exp $ */
/* buf.c: This file contains the scratch-file buffer routines for the
@@ -33,7 +33,7 @@
#if 0
static char *rcsid = "@(#)buf.c,v 1.4 1994/02/01 00:34:35 alm Exp";
#else
-static char rcsid[] = "$OpenBSD: buf.c,v 1.17 2006/04/25 15:41:07 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: buf.c,v 1.18 2008/02/12 07:57:29 otto Exp $";
#endif
#endif /* not lint */
@@ -114,7 +114,7 @@ put_sbuf_line(char *cs)
free(lp);
return NULL;
}
- sfseek = ftell(sfp);
+ sfseek = ftello(sfp);
seek_write = 0;
}
/* assert: SPL1() */