diff options
author | Justin Mitchell <jumitche@rehat.com> | 2017-05-05 11:03:20 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2017-05-05 11:04:19 -0400 |
commit | 7b33590fee9515e49cda460285acc5d347a800b5 (patch) | |
tree | 8f6f30a0671155e93c5029f15c37181755aa3704 /utils/exportfs | |
parent | 06bbb4ee6f5186e8e83d50767ad5b3b41968e5a6 (diff) | |
download | nfs-utils-7b33590fee9515e49cda460285acc5d347a800b5.tar.gz nfs-utils-7b33590fee9515e49cda460285acc5d347a800b5.tar.xz nfs-utils-7b33590fee9515e49cda460285acc5d347a800b5.zip |
config: Remove the conf_path global
Working towards an nfs.conf library and API for system config tools,
first step, replace the conf_path global with a parameter to conf_init
Signed-off-by: Justin Mitchell <jumitche@rehat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/exportfs')
-rw-r--r-- | utils/exportfs/exportfs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/exportfs/exportfs.c b/utils/exportfs/exportfs.c index 02d5b6d..beed1b3 100644 --- a/utils/exportfs/exportfs.c +++ b/utils/exportfs/exportfs.c @@ -50,7 +50,6 @@ static void release_lockfile(void); static const char *lockfile = EXP_LOCKFILE; static int _lockfd = -1; -char *conf_path = NFS_CONFFILE; struct state_paths etab; @@ -108,7 +107,7 @@ main(int argc, char **argv) xlog_stderr(1); xlog_syslog(0); - conf_init(); + conf_init(NFS_CONFFILE); xlog_from_conffile("exportfs"); /* NOTE: following uses "mountd" section of nfs.conf !!!! */ |