From 05883b79c2ccc4816185117c259e379ade071c41 Mon Sep 17 00:00:00 2001 From: kuriyama Date: Fri, 4 Dec 2009 14:08:57 +0000 Subject: - Replace magic number with YPOLDVERS macro (which may be missed in r14262). --- usr.sbin/ypserv/yp_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/ypserv') 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); } /* -- cgit v1.1