summaryrefslogtreecommitdiffstats
path: root/usr.bin/ypwhich
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2004-04-04 19:17:38 +0000
committercharnier <charnier@FreeBSD.org>2004-04-04 19:17:38 +0000
commit71e0ff381104d5706f9c36ab4fefed77c30f5653 (patch)
tree48519b94d9bd12b7092cecc5215d03386e0e7aea /usr.bin/ypwhich
parent40e717b764cf56eec0469a445506f5c44cdd34f3 (diff)
downloadFreeBSD-src-71e0ff381104d5706f9c36ab4fefed77c30f5653.zip
FreeBSD-src-71e0ff381104d5706f9c36ab4fefed77c30f5653.tar.gz
Be consistant while reporting error conditions.
Diffstat (limited to 'usr.bin/ypwhich')
-rw-r--r--usr.bin/ypwhich/ypwhich.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ypwhich/ypwhich.c b/usr.bin/ypwhich/ypwhich.c
index 0433191..8bfca24 100644
--- a/usr.bin/ypwhich/ypwhich.c
+++ b/usr.bin/ypwhich/ypwhich.c
@@ -217,7 +217,7 @@ main(int argc, char *argv[])
case YPERR_YPBIND:
errx(ERR_NOYPBIND, "not running ypbind");
default:
- errx(ERR_NOMASTER, "can't find master for map %s. reason: %s",
+ errx(ERR_NOMASTER, "can't find master for map %s: reason: %s",
map, yperr_string(r));
}
exit(0);
@@ -247,7 +247,7 @@ main(int argc, char *argv[])
case YPERR_YPBIND:
errx(ERR_NOYPBIND, "not running ypbind");
default:
- errx(ERR_NOMASTER, "can't get map list for domain %s. reason: %s",
+ errx(ERR_NOMASTER, "can't get map list for domain %s: reason: %s",
domnam, yperr_string(r));
}
exit(0);
OpenPOWER on IntegriCloud