aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorBill Paul <wpaul@FreeBSD.org>1995-04-26 19:03:16 +0000
committerBill Paul <wpaul@FreeBSD.org>1995-04-26 19:03:16 +0000
commit456ebbf8f5943a521c357907f4c0981205cf884b (patch)
treebf5e8345e4fe172879132532c0e299a35e9937b8 /usr.bin
parentf5fea3ddc9727dd4948cabafd178801ab6630c17 (diff)
downloadsrc-456ebbf8f5943a521c357907f4c0981205cf884b.tar.gz
src-456ebbf8f5943a521c357907f4c0981205cf884b.zip
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ypwhich/ypwhich.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ypwhich/ypwhich.c b/usr.bin/ypwhich/ypwhich.c
index ac8b20c25ebb..fe5a444e6c3a 100644
--- a/usr.bin/ypwhich/ypwhich.c
+++ b/usr.bin/ypwhich/ypwhich.c
@@ -109,7 +109,7 @@ struct sockaddr_in *sin;
} else {
if (ypbr.ypbind_status != YPBIND_SUCC_VAL) {
fprintf(stderr, "can't yp_bind: Reason: %s\n",
- ypbinderr_string(ypbr.ypbind_status));
+ ypbinderr_string(ypbr.ypbind_respbody.ypbind_error));
clnt_destroy(client);
return r;
}