diff options
-rw-r--r-- | lib/libc/locale/setrunelocale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/locale/setrunelocale.c b/lib/libc/locale/setrunelocale.c index f3446a9..774226c 100644 --- a/lib/libc/locale/setrunelocale.c +++ b/lib/libc/locale/setrunelocale.c @@ -82,7 +82,7 @@ setrunelocale(encoding) ) { if (strlen(p) + 1/*"/"*/ + ENCODING_LEN + 1/*"/"*/ + CATEGORY_LEN >= PATH_MAX) - return(EFAULT); + return (ENAMETOOLONG); _PathLocale = strdup(p); if (_PathLocale == NULL) return (errno); |