Skip to contentSkip to conversation

nfs-utils: Update svcgssd so that it builds

PATCH In review Justin Mitchell 2 participants 2 messages Jan 3, 2018 – Jan 8, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nfs-utils: 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.

---
 utils/gssd/svcgssd.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
utils/gssd/svcgssd.c +3 -1
index 3514ae1..23f0c0b 100644
@@ -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)
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 5 lines · Justin Mitchell

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.

Committed...

steved.

Quoted 27 lines
---
 utils/gssd/svcgssd.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
utils/gssd/svcgssd.c +3 -1
index 3514ae1..23f0c0b 100644
@@ -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)