diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 2002-08-03 09:10:31 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 2002-08-03 09:10:31 +0000 |
| commit | 5568219d1555ea610b08d4a2993fcf187797201a (patch) | |
| tree | b5772bb7f7085b70e124f5ed67f523eb37017892 /lib/libc | |
| parent | 83c9580dbb7e496ffd627d4d3d2159893883cf9b (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 774226c51c9d..e9cee2ea16ce 100644 --- a/lib/libc/locale/setrunelocale.c +++ b/lib/libc/locale/setrunelocale.c @@ -62,7 +62,7 @@ setrunelocale(encoding) _RuneLocale *rl; if (!encoding || strlen(encoding) > ENCODING_LEN) - return(EFAULT); + return (EINVAL); /* * The "C" and "POSIX" locale are always here. |
