xref: /titanic_41/usr/src/lib/gss_mechs/mech_krb5/et/kdc5_err.c (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
1 /*
2  * Copyright 1998-2002 Sun Microsystems, Inc.  All rights reserved.
3  * Use is subject to license terms.
4  */
5 
6 #pragma ident	"%Z%%M%	%I%	%E% SMI"
7 
8 #include <locale.h>
9 const char *
kdc5_error_table(long errorno)10 kdc5_error_table(long errorno) {
11 
12 switch (errorno) {
13 	case 0:
14 		return(
15 			"$Id: kdc5_err.etv 5.4 1995/11/03 21:52:00 eichin Exp $");
16 	case 1:
17 		return(dgettext(TEXT_DOMAIN,
18 			"No server port found"));
19 	case 2:
20 		return(dgettext(TEXT_DOMAIN,
21 			"Network not initialized"));
22 	case 3:
23 		return(dgettext(TEXT_DOMAIN,
24 			"Short write while sending response"));
25 	default:
26 		return("unknown error");
27 	}
28 }
29