summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2001-12-31 02:04:08 +0000
committerGerald Carter <jerry@samba.org>2001-12-31 02:04:08 +0000
commit871f1791c6b32d52bb71cfe9d6529ba62156857c (patch)
treeae9f596b0207775c9798605bb3b5aab2d7f0da8e /source3/utils
parent8d8484dc30a6104abc058bd61b7b6ca5bfe122eb (diff)
downloadsamba-871f1791c6b32d52bb71cfe9d6529ba62156857c.tar.gz
samba-871f1791c6b32d52bb71cfe9d6529ba62156857c.tar.bz2
samba-871f1791c6b32d52bb71cfe9d6529ba62156857c.zip
fix compile error
(This used to be commit c946c6bbc8192f5f0f3706d1b4a6cca0a994f36b)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/pdbedit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c
index 94eb87b6e0..e80143cc2b 100644
--- a/source3/utils/pdbedit.c
+++ b/source3/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);