summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRical Jasan <ricaljasan@pacific.net>2018-02-21 04:00:03 -0800
committerRical Jasan <ricaljasan@pacific.net>2018-02-21 04:00:03 -0800
commit0d217f4082473e5fdca87831df928dd525a02f72 (patch)
treedb8e516d2183f02dad5720774e805917bf2f050b
parent862b45026fa67277a554eb329538a7d536311eca (diff)
Fix a typo in a comment.
* io/fcntl.h: Fix a typo in a comment.
-rw-r--r--ChangeLog4
-rw-r--r--io/fcntl.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d6adafa006..8ced269fe7 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 3d239e8f09..69a4394191 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