diff options
author | Bill Paul <wpaul@FreeBSD.org> | 1995-05-03 18:33:10 +0000 |
---|---|---|
committer | Bill Paul <wpaul@FreeBSD.org> | 1995-05-03 18:33:10 +0000 |
commit | 62967ca2b26ffcc4bb1c6a9bfd74bc0873f21b4a (patch) | |
tree | 2bdd49719745bf39411429905139c511cef9dc41 /lib | |
parent | 99d181f7a91eff89efe25da8318d53e0d30dca27 (diff) | |
download | src-test2-62967ca2b26ffcc4bb1c6a9bfd74bc0873f21b4a.tar.gz src-test2-62967ca2b26ffcc4bb1c6a9bfd74bc0873f21b4a.zip |
Notes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/yp/yplib.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/yp/yplib.c b/lib/libc/yp/yplib.c index c7851450e7e0..4d96340ed2fd 100644 --- a/lib/libc/yp/yplib.c +++ b/lib/libc/yp/yplib.c @@ -28,7 +28,7 @@ */ #ifndef LINT -static char *rcsid = "$Id: yplib.c,v 1.7 1995/04/21 18:04:22 wpaul Exp $"; +static char *rcsid = "$Id: yplib.c,v 1.8 1995/04/26 19:03:05 wpaul Exp $"; #endif #include <sys/param.h> @@ -177,14 +177,14 @@ int incode; switch(incode) { case 0: return "Success"; - case 1: + case YPBIND_ERR_ERR: return "Internal ypbind error"; - case 2: + case YPBIND_ERR_NOSERV: return "Domain not bound"; - case 3: + case YPBIND_ERR_RESC: return "System resource allocation failure"; } - sprintf(err, "Unknown ypbind error %d\n", incode); + sprintf(err, "Unknown ypbind error: #%d\n", incode); return err; } |