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);
        }
 
        /*
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to