summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/ypserv/yp_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ypserv/yp_main.c b/usr.sbin/ypserv/yp_main.c
index 7ae15d9..2152925 100644
--- a/usr.sbin/ypserv/yp_main.c
+++ b/usr.sbin/ypserv/yp_main.c
@@ -295,7 +295,7 @@ main(int argc, char *argv[])
}
sock = RPC_ANYSOCK;
(void) pmap_unset(YPPROG, YPVERS);
- (void) pmap_unset(YPPROG, 1);
+ (void) pmap_unset(YPPROG, YPOLDVERS);
}
/*
OpenPOWER on IntegriCloud