summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Mitchell <jumitche@redhat.com>2018-01-08 09:14:11 -0500
committerSteve Dickson <steved@redhat.com>2018-01-08 09:14:50 -0500
commit1451d7585bf1c622658ccc04abac7e79ffe40263 (patch)
tree20f1b7dd10eac48ec84117899204514c8472c1d5
parent0003172dfcdcb5e79dd01c7126225a6623f6697e (diff)
downloadnfs-utils-1451d7585bf1c622658ccc04abac7e79ffe40263.tar.gz
svcgssd: Update svcgssd so that it builds
Since a15bd948 the --enable-svcgss option no longer builds as svcgssd references functions which were changed at that time. Fix those, and other function changes since then. Signed-off-by: Justin Mitchell <jumitche@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--utils/gssd/svcgssd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/gssd/svcgssd.c b/utils/gssd/svcgssd.c
index 3514ae1..23f0c0b 100644
--- a/utils/gssd/svcgssd.c
+++ b/utils/gssd/svcgssd.c
@@ -63,6 +63,8 @@
#include "err_util.h"
#include "conffile.h"
+struct state_paths etab;
+
void
sig_die(int signal)
{
@@ -101,7 +103,7 @@ main(int argc, char *argv[])
char *principal = NULL;
char *s;
- conf_init(NFS_CONFFILE);
+ conf_init_file(NFS_CONFFILE);
s = conf_get_str("svcgssd", "principal");
if (!s)