diff options
Diffstat (limited to 'sysdeps/gnu')
-rw-r--r-- | sysdeps/gnu/errlist.awk | 2 | ||||
-rw-r--r-- | sysdeps/gnu/errlist.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/gnu/errlist.awk b/sysdeps/gnu/errlist.awk index c68e70df9a..a640fe5a11 100644 --- a/sysdeps/gnu/errlist.awk +++ b/sysdeps/gnu/errlist.awk @@ -32,7 +32,7 @@ BEGIN { print ""; print "#include <errno.h>"; print ""; - print "const char *_sys_errlist[] ="; + print "const char *const _sys_errlist[] ="; print " {"; print " [0] = N_(\"Success\")," } diff --git a/sysdeps/gnu/errlist.c b/sysdeps/gnu/errlist.c index 85ae7f11ac..3e62c5f127 100644 --- a/sysdeps/gnu/errlist.c +++ b/sysdeps/gnu/errlist.c @@ -2,7 +2,7 @@ #include <errno.h> -const char *_sys_errlist[] = +const char *const _sys_errlist[] = { [0] = N_("Success"), #ifdef EPERM |