about summary refs log tree commit diff
path: root/posix/regex.h
diff options
context:
space:
mode:
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 cb26d54072..0efef36e66 100644
--- a/posix/regex.h
+++ b/posix/regex.h
@@ -283,7 +283,7 @@ extern reg_syntax_t re_syntax_options;
 typedef enum
 {
 #if (_XOPEN_SOURCE - 0) == 500
-  REG_NOSYS = -1,	/* This will never happen for this implementation.  */
+  REG_ENOSYS = -1,	/* This will never happen for this implementation.  */
 #endif
 
   REG_NOERROR = 0,	/* Success.  */