From c946c6bbc8192f5f0f3706d1b4a6cca0a994f36b Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 31 Dec 2001 02:04:08 +0000 Subject: fix compile error --- source/utils/pdbedit.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/utils/pdbedit.c b/source/utils/pdbedit.c index 94eb87b6e09..e80143cc2b8 100644 --- a/source/utils/pdbedit.c +++ b/source/utils/pdbedit.c @@ -652,7 +652,7 @@ static int import_users (char *filename) int main (int argc, char **argv) { int ch; - static pstring servicesf = CONFIGFILE; + static pstring servicesf; BOOL list_users = False; BOOL verbose = False; BOOL spstyle = False; @@ -669,6 +669,8 @@ int main (int argc, char **argv) char *profile_path = NULL; char *smbpasswd = NULL; + pstrcpy(servicesf, dyn_CONFIGFILE); + TimeInit(); setup_logging("pdbedit", True); -- cgit