Remove the char[1024] strings from dynconfig. Replace
[nivanova/samba-autobuild/.git] / source3 / utils / nmblookup.c
index dd2dddb7a8e0952b24eb10bd4b2bf6247e4e1d87..c04b628b1b6152e4d0309bdaf48fd80c7d3fab54 100644 (file)
@@ -314,9 +314,9 @@ int main(int argc,char *argv[])
                exit(1);
        }
 
-       if (!lp_load(dyn_CONFIGFILE,True,False,False,True)) {
+       if (!lp_load(get_dyn_CONFIGFILE(),True,False,False,True)) {
                fprintf(stderr, "Can't load %s - run testparm to debug it\n",
-                               dyn_CONFIGFILE);
+                               get_dyn_CONFIGFILE());
        }
 
        load_interfaces();