summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-28 10:17:32 +0200
committerMichael Adam <obnox@samba.org>2011-07-28 11:17:36 +0200
commit7557ba1eb25a0c628bada63a49064be06efb89a9 (patch)
tree255d16d0d28f6371ed2a1815a14274ea69e43fd2
parent1679fe5ca95c338aec57f1f368cc371bd058f6cc (diff)
downloadsamba-7557ba1eb25a0c628bada63a49064be06efb89a9.tar.gz
samba-7557ba1eb25a0c628bada63a49064be06efb89a9.tar.bz2
samba-7557ba1eb25a0c628bada63a49064be06efb89a9.zip
s3:eventlogadm: use lp_load_global()
-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 );
}