aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-09-19 21:37:20 +0000
committerJeff Johnston <jjohnstn@redhat.com>2002-09-19 21:37:20 +0000
commit5b9ee5393b5a2991ebaa096496eaa2c579877a9b (patch)
tree1d475b498947407d11ee5a9de2c46bc51419df9b
parent50558bf3bdb5e2fc2454f38316af1f06f82f9a5d (diff)
downloadnewlib-5b9ee5393b5a2991ebaa096496eaa2c579877a9b.zip
newlib-5b9ee5393b5a2991ebaa096496eaa2c579877a9b.tar.gz
newlib-5b9ee5393b5a2991ebaa096496eaa2c579877a9b.tar.bz2
2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
* libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor statement comment.
-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 df30d24..214f771 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 4d1c57c..d72403f 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 */
}