summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/openat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/openat.c b/lib/openat.c
index eb0eddebb..6a1b42ea6 100644
--- a/lib/openat.c
+++ b/lib/openat.c
@@ -54,7 +54,7 @@ openat (int fd, char const *file, int flags, ...)
va_start (arg, flags);
/* If mode_t is narrower than int, use the promoted type (int),
- not mode_t. Use sizeof to guess whether mode_t is nerrower;
+ not mode_t. Use sizeof to guess whether mode_t is narrower;
we don't know of any practical counterexamples. */
if (sizeof (mode_t) < sizeof (int))
mode = va_arg (arg, int);