From 30a0616840400f31a2aba9acad3928dfcc641d95 Mon Sep 17 00:00:00 2001 From: Thomas Fitzsimmons Date: Mon, 24 Jun 2002 15:59:38 +0000 Subject: 2002-06-24 WATANABE Hirofumi * libc/stdio/fseek.c (fseek): Fix braces. --- newlib/libc/stdio/fseek.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'newlib/libc') diff --git a/newlib/libc/stdio/fseek.c b/newlib/libc/stdio/fseek.c index 10c6c532e..27f527545 100644 --- a/newlib/libc/stdio/fseek.c +++ b/newlib/libc/stdio/fseek.c @@ -141,8 +141,10 @@ fseek (fp, offset, whence) { curoff = (*seekfn) (fp->_cookie, (fpos_t) 0, SEEK_CUR); if (curoff == -1L) - _funlockfile(fp); - return EOF; + { + _funlockfile(fp); + return EOF; + } } if (fp->_flags & __SRD) { -- cgit v1.2.3