From 943841ae06a171855c7836ec9216ec65abd2deb0 Mon Sep 17 00:00:00 2001 From: Philip Guenthe Date: Tue, 24 Nov 2009 09:22:23 +0000 Subject: Change ENOTSUP's strerror() to "Not supported" Provide C and Pig locale expansions for errno values from EAUTH to ENOTSUP ok millert@, mk@, go aheads from others who have other translations in the works --- lib/libc/gen/errlist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc/gen') diff --git a/lib/libc/gen/errlist.c b/lib/libc/gen/errlist.c index 0c14fb1ed58..69607e70900 100644 --- a/lib/libc/gen/errlist.c +++ b/lib/libc/gen/errlist.c @@ -1,4 +1,4 @@ -/* $OpenBSD: errlist.c,v 1.13 2009/10/26 21:09:33 jasper Exp $ */ +/* $OpenBSD: errlist.c,v 1.14 2009/11/24 09:22:22 guenther Exp $ */ /* * Copyright (c) 1982, 1985, 1993 * The Regents of the University of California. All rights reserved. @@ -144,6 +144,6 @@ const char *const "Operation canceled", /* 88 - ECANCELED */ "Identifier removed", /* 89 - EIDRM */ "No message of desired type", /* 90 - ENOMSG */ - "Operation not supported", /* 91 - ENOTSUP */ + "Not supported", /* 91 - ENOTSUP */ }; int _sys_nerr = { sizeof _sys_errlist/sizeof _sys_errlist[0] }; -- cgit v1.2.3