summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2002-08-03 09:10:31 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2002-08-03 09:10:31 +0000
commit5568219d1555ea610b08d4a2993fcf187797201a (patch)
treeb5772bb7f7085b70e124f5ed67f523eb37017892 /lib/libc
parent83c9580dbb7e496ffd627d4d3d2159893883cf9b (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/locale/setrunelocale.c2
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.