From 0ad06d5009df34b869bbbcbbd9ca0608d276535a Mon Sep 17 00:00:00 2001 From: ache Date: Fri, 31 Aug 2001 20:36:19 +0000 Subject: Add originally missing __sinit() call. --- lib/libc/stdio/ftell.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/libc') 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); -- cgit v1.1