aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/stdio/fseek.c
diff options
context:
space:
mode:
authorJames Raynard <jraynard@FreeBSD.org>1996-06-22 10:34:15 +0000
committerJames Raynard <jraynard@FreeBSD.org>1996-06-22 10:34:15 +0000
commitce51cf0392a0b2cc80e5ddcdb01394a303093443 (patch)
treedabe76e239303cbaa8026d6b9fa85fe1b5845601 /lib/libc/stdio/fseek.c
parent55c148f316e1e2bbc7ac656d7f89144dd9dc34c0 (diff)
downloadsrc-ce51cf0392a0b2cc80e5ddcdb01394a303093443.tar.gz
src-ce51cf0392a0b2cc80e5ddcdb01394a303093443.zip
Notes
Diffstat (limited to 'lib/libc/stdio/fseek.c')
-rw-r--r--lib/libc/stdio/fseek.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/stdio/fseek.c b/lib/libc/stdio/fseek.c
index 1e99de9db2cc..c6707dfb34f6 100644
--- a/lib/libc/stdio/fseek.c
+++ b/lib/libc/stdio/fseek.c
@@ -35,7 +35,11 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
+#if 0
static char sccsid[] = "@(#)fseek.c 8.3 (Berkeley) 1/2/94";
+#endif
+static const char rcsid[] =
+ "$Id$";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -99,7 +103,7 @@ fseek(fp, offset, whence)
curoff = fp->_offset;
else {
curoff = (*seekfn)(fp->_cookie, (fpos_t)0, SEEK_CUR);
- if (curoff == -1L) {
+ if (curoff == -1) {
#ifdef _THREAD_SAFE
_thread_funlockfile(fp);
#endif