diff options
author | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-06-24 19:59:38 +0400 |
---|---|---|
committer | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-06-24 19:59:38 +0400 |
commit | 30a0616840400f31a2aba9acad3928dfcc641d95 (patch) | |
tree | 477e6b99fc66d193108beb896480a08fbada3268 /newlib/libc/stdio | |
parent | 1fd072b6e49bf5e8c1202b7d3233486e1cf82420 (diff) |
2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
* libc/stdio/fseek.c (fseek): Fix braces.
Diffstat (limited to 'newlib/libc/stdio')
-rw-r--r-- | newlib/libc/stdio/fseek.c | 6 |
1 files changed, 4 insertions, 2 deletions
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) { |