Date: Mon, 30 May 2011 11:09:39 +0000 (UTC) From: Hiroki Sato <hrs@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r222494 - in user/hrs/ipv6/usr.sbin: rpc.ypupdated yp_mkdb Message-ID: <201105301109.p4UB9dtL074353@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hrs Date: Mon May 30 11:09:38 2011 New Revision: 222494 URL: http://svn.freebsd.org/changeset/base/222494 Log: Fix inconsistency of yp_dir. Modified: user/hrs/ipv6/usr.sbin/rpc.ypupdated/ypupdated_main.c user/hrs/ipv6/usr.sbin/yp_mkdb/yp_mkdb.c Modified: user/hrs/ipv6/usr.sbin/rpc.ypupdated/ypupdated_main.c ============================================================================== --- user/hrs/ipv6/usr.sbin/rpc.ypupdated/ypupdated_main.c Mon May 30 10:28:55 2011 (r222493) +++ user/hrs/ipv6/usr.sbin/rpc.ypupdated/ypupdated_main.c Mon May 30 11:09:38 2011 (r222494) @@ -76,7 +76,7 @@ static int _rpcfdtype; extern int _rpcsvcstate; /* Set when a request is serviced */ const char *progname = "rpc.ypupdated"; -const char *yp_dir = "/var/yp/"; +const char *yp_dir = _PATH_YP; static void _msgout(char* msg) Modified: user/hrs/ipv6/usr.sbin/yp_mkdb/yp_mkdb.c ============================================================================== --- user/hrs/ipv6/usr.sbin/yp_mkdb/yp_mkdb.c Mon May 30 10:28:55 2011 (r222493) +++ user/hrs/ipv6/usr.sbin/yp_mkdb/yp_mkdb.c Mon May 30 11:09:38 2011 (r222494) @@ -49,7 +49,7 @@ __FBSDID("$FreeBSD$"); #include "yp_extern.h" #include "ypxfr_extern.h" -char *yp_dir = ""; /* No particular default needed. */ +const char *yp_dir = _PATH_YP; int _rpcpmstart = 0; int debug = 1;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105301109.p4UB9dtL074353>