summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/eventlogadm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/eventlogadm.c b/source3/utils/eventlogadm.c
index d170604a1b..973eb2bcd9 100644
--- a/source3/utils/eventlogadm.c
+++ b/source3/utils/eventlogadm.c
@@ -464,8 +464,8 @@ int main( int argc, char *argv[] )
}
if ( configfile == NULL ) {
- lp_load(get_dyn_CONFIGFILE(), True, False, False, True);
- } else if (!lp_load(configfile, True, False, False, True)) {
+ lp_load_global(get_dyn_CONFIGFILE());
+ } else if (!lp_load_global(configfile)) {
printf("Unable to parse configfile '%s'\n",configfile);
exit( 1 );
}