diff options
author | hrs <hrs@FreeBSD.org> | 2011-05-30 11:09:38 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2011-05-30 11:09:38 +0000 |
commit | 5097d8cc3d8c2ba9151a2cea703731da7175d3e4 (patch) | |
tree | c742f35720d6024cea282410368057eb4e163712 /usr.sbin | |
parent | 5ef8c93314d194035864dfc6849418d07c8356ae (diff) | |
download | FreeBSD-src-5097d8cc3d8c2ba9151a2cea703731da7175d3e4.zip FreeBSD-src-5097d8cc3d8c2ba9151a2cea703731da7175d3e4.tar.gz |
Fix inconsistency of yp_dir.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/rpc.ypupdated/ypupdated_main.c | 2 | ||||
-rw-r--r-- | usr.sbin/yp_mkdb/yp_mkdb.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpc.ypupdated/ypupdated_main.c b/usr.sbin/rpc.ypupdated/ypupdated_main.c index e8277bf..f02ad24 100644 --- a/usr.sbin/rpc.ypupdated/ypupdated_main.c +++ b/usr.sbin/rpc.ypupdated/ypupdated_main.c @@ -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) diff --git a/usr.sbin/yp_mkdb/yp_mkdb.c b/usr.sbin/yp_mkdb/yp_mkdb.c index 6c3014b..fdbb466 100644 --- a/usr.sbin/yp_mkdb/yp_mkdb.c +++ b/usr.sbin/yp_mkdb/yp_mkdb.c @@ -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; |