From b5b73d0ae10b5dad678454b62d95f79f8903273b Mon Sep 17 00:00:00 2001 From: ache Date: Sat, 3 Aug 2002 16:26:47 +0000 Subject: Fix return codes to match what setrunelocale() returns --- lib/libc/locale/rune.3 | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/libc/locale/rune.3 b/lib/libc/locale/rune.3 index 7c83ebc..7c37c40 100644 --- a/lib/libc/locale/rune.3 +++ b/lib/libc/locale/rune.3 @@ -217,16 +217,13 @@ function returns one of the following values: .It Er 0 .Fn setrunelocale was successful. -.It Bq Er EFAULT +.It Bq Er EINVAL .Fa locale -was -.Dv NULL . +name was incorrect. .It Bq Er ENOENT The locale could not be found. .It Bq Er EFTYPE The file found was not a valid file. -.It Bq Er EINVAL -The encoding indicated by the locale was unknown. .El .Pp The -- cgit v1.1