diff options
author | ache <ache@FreeBSD.org> | 2001-08-31 20:36:19 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-08-31 20:36:19 +0000 |
commit | 0ad06d5009df34b869bbbcbbd9ca0608d276535a (patch) | |
tree | cce06bd273ef208ecf573d98562ec1ad26f151f5 /lib/libc/stdio/ftell.c | |
parent | 689eee076f9dc44bf46949caa22febf4436f3844 (diff) | |
download | FreeBSD-src-0ad06d5009df34b869bbbcbbd9ca0608d276535a.zip FreeBSD-src-0ad06d5009df34b869bbbcbbd9ca0608d276535a.tar.gz |
Add originally missing __sinit() call.
Diffstat (limited to 'lib/libc/stdio/ftell.c')
-rw-r--r-- | lib/libc/stdio/ftell.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/stdio/ftell.c b/lib/libc/stdio/ftell.c index 9f1e106..61cd27c 100644 --- a/lib/libc/stdio/ftell.c +++ b/lib/libc/stdio/ftell.c @@ -77,6 +77,10 @@ ftello(fp) { register off_t rv; + /* make sure stdio is set up */ + if (!__sdidinit) + __sinit(); + FLOCKFILE(fp); rv = _ftello(fp); FUNLOCKFILE(fp); |