aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--io/fcntl.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d6adafa..8ced269 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2018-02-21 Rical Jasan <ricaljasan@pacific.net>
+ * io/fcntl.h: Fix a typo in a comment.
+
+2018-02-21 Rical Jasan <ricaljasan@pacific.net>
+
[BZ #22862]
* include/features.h: Add _ISOC11_SOURCE to test for whether to
define _DEFAULT_SOURCE.
diff --git a/io/fcntl.h b/io/fcntl.h
index 3d239e8..69a4394 100644
--- a/io/fcntl.h
+++ b/io/fcntl.h
@@ -139,7 +139,7 @@ typedef __pid_t pid_t;
# define SEEK_END 2 /* Seek from end of file. */
#endif /* XPG */
-/* The constants AT_REMOVEDIR and AT_EACCESS have the same value. AT_EASSESS
+/* The constants AT_REMOVEDIR and AT_EACCESS have the same value. AT_EACCESS
is meaningful only to faccessat, while AT_REMOVEDIR is meaningful only to
unlinkat. The two functions do completely different things and therefore,
the flags can be allowed to overlap. For example, passing AT_REMOVEDIR to