summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/syscalls/sysfcntl.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index df30d2460..214f771d7 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,5 +1,10 @@
2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
+ * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
+ statement comment.
+
+2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
+
* libc/posix/opendir.c (opendir): Change code to check
for HAVE_FCNTL before calling fcntl.
* libc/search/hash.c (hash_open): Ditto.
diff --git a/newlib/libc/syscalls/sysfcntl.c b/newlib/libc/syscalls/sysfcntl.c
index 4d1c57cc1..d72403f6a 100644
--- a/newlib/libc/syscalls/sysfcntl.c
+++ b/newlib/libc/syscalls/sysfcntl.c
@@ -19,5 +19,5 @@ fcntl (fd, flag, arg)
#else /* !HAVE_FCNTL */
errno = ENOSYS;
return -1;
-#endif /& !HAVE_FCNTL */
+#endif /* !HAVE_FCNTL */
}