Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-09-20 01:37:20 +0400
committerJeff Johnston <jjohnstn@redhat.com>2002-09-20 01:37:20 +0400
commit5b9ee5393b5a2991ebaa096496eaa2c579877a9b (patch)
tree1d475b498947407d11ee5a9de2c46bc51419df9b
parent50558bf3bdb5e2fc2454f38316af1f06f82f9a5d (diff)
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 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 */
}