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/gssd/svcgssd.c | |
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/gssd/svcgssd.c')
-rw-r--r-- | utils/gssd/svcgssd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/utils/gssd/svcgssd.c b/utils/gssd/svcgssd.c index 1fb579a..3514ae1 100644 --- a/utils/gssd/svcgssd.c +++ b/utils/gssd/svcgssd.c @@ -63,8 +63,6 @@ #include "err_util.h" #include "conffile.h" -char *conf_path = NFS_CONFFILE; - void sig_die(int signal) { @@ -103,7 +101,7 @@ main(int argc, char *argv[]) char *principal = NULL; char *s; - conf_init(); + conf_init(NFS_CONFFILE); s = conf_get_str("svcgssd", "principal"); if (!s) |