Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Dec 2009 14:08:57 +0000 (UTC)
From:      Jun Kuriyama <kuriyama@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r200099 - head/usr.sbin/ypserv
Message-ID:  <200912041408.nB4E8vZA056836@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kuriyama
Date: Fri Dec  4 14:08:57 2009
New Revision: 200099
URL: http://svn.freebsd.org/changeset/base/200099

Log:
  - Replace magic number with YPOLDVERS macro (which may be missed in
    r14262).

Modified:
  head/usr.sbin/ypserv/yp_main.c

Modified: head/usr.sbin/ypserv/yp_main.c
==============================================================================
--- head/usr.sbin/ypserv/yp_main.c	Fri Dec  4 11:26:52 2009	(r200098)
+++ head/usr.sbin/ypserv/yp_main.c	Fri Dec  4 14:08:57 2009	(r200099)
@@ -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);
 	}
 
 	/*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912041408.nB4E8vZA056836>