diff options
author | 2008-02-12 07:57:29 +0000 | |
---|---|---|
committer | 2008-02-12 07:57:29 +0000 | |
commit | 56c0fb8d4de75e190fd719201381a344bd79c9e3 (patch) | |
tree | 060d2b285f23c32f2ba77ec38925f8df6a0aca42 | |
parent | document modifier types; requested by Aurelien (diff) | |
download | wireguard-openbsd-56c0fb8d4de75e190fd719201381a344bd79c9e3.tar.xz wireguard-openbsd-56c0fb8d4de75e190fd719201381a344bd79c9e3.zip |
use ftello instead of ftell; from Davil Hill; ok millert@
-rw-r--r-- | bin/ed/buf.c | 6 |
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() */ |