summary refs log tree commit diff
path: root/posix/regex.h
diff options
context:
space:
mode:
authorArnold Robbins <arnold@skeeve.com>2017-12-19 19:26:08 -0800
committerCarlos O'Donell <carlos@redhat.com>2017-12-19 19:28:21 -0800
commit5069ff32842c60c55f8b573ee66fe43f9ec364af (patch)
tree265720b6dd993d84bc940b422574f311b08aba1e /posix/regex.h
parentc85e54ac6cef0faed7b7ffc722f52523dec59bf5 (diff)
downloadglibc-5069ff32842c60c55f8b573ee66fe43f9ec364af.tar.gz
glibc-5069ff32842c60c55f8b573ee66fe43f9ec364af.tar.xz
glibc-5069ff32842c60c55f8b573ee66fe43f9ec364af.zip
regex: Fix spelling in comments.
Fix the spelling in various comments throughout the
regex implementation. These changes are also present
in gnulib and will be integrated there also, see:
https://sourceware.org/ml/libc-alpha/2017-12/msg00688.html
Diffstat (limited to 'posix/regex.h')
-rw-r--r--posix/regex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/regex.h b/posix/regex.h
index 3f0d6ce234..0074b8a8e4 100644
--- a/posix/regex.h
+++ b/posix/regex.h
@@ -317,7 +317,7 @@ typedef enum
   /* POSIX regcomp return error codes.  (In the order listed in the
      standard.)  */
   REG_BADPAT,		/* Invalid pattern.  */
-  REG_ECOLLATE,		/* Inalid collating element.  */
+  REG_ECOLLATE,		/* Invalid collating element.  */
   REG_ECTYPE,		/* Invalid character class name.  */
   REG_EESCAPE,		/* Trailing backslash.  */
   REG_ESUBREG,		/* Invalid back reference.  */