From owner-svn-src-user@FreeBSD.ORG Mon May 30 11:09:39 2011 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3AA1F106568C; Mon, 30 May 2011 11:09:39 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 2B3918FC0A; Mon, 30 May 2011 11:09:39 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p4UB9daO074356; Mon, 30 May 2011 11:09:39 GMT (envelope-from hrs@svn.freebsd.org) Received: (from hrs@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p4UB9dtL074353; Mon, 30 May 2011 11:09:39 GMT (envelope-from hrs@svn.freebsd.org) Message-Id: <201105301109.p4UB9dtL074353@svn.freebsd.org> From: Hiroki Sato Date: Mon, 30 May 2011 11:09:39 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r222494 - in user/hrs/ipv6/usr.sbin: rpc.ypupdated yp_mkdb X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2011 11:09:39 -0000 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;