diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 2002-08-03 09:07:27 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 2002-08-03 09:07:27 +0000 |
| commit | 83c9580dbb7e496ffd627d4d3d2159893883cf9b (patch) | |
| tree | f236a9aa6f97c71f5ea74dbda09af5fa8769f3f1 /lib/libc | |
| parent | a17eafe2a8f500ef40532d4f286a107df8b2e55e (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -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 f3446a95b7d4..774226c51c9d 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); |
