summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-01-22 19:46:14 +0100
committerGünther Deschner <gd@samba.org>2009-02-03 15:44:06 +0100
commit8fb6b18bac436d4babdafc4d8b97de70881c1238 (patch)
treed74bd2572e2e9e71f7e4561d6e7553b11f1bc96c /source3/utils
parent35f1e02ca4c31214e85b7c25d8f695eb035871d7 (diff)
downloadsamba-8fb6b18bac436d4babdafc4d8b97de70881c1238.tar.gz
samba-8fb6b18bac436d4babdafc4d8b97de70881c1238.tar.bz2
samba-8fb6b18bac436d4babdafc4d8b97de70881c1238.zip
s3-eventlog: allow to open eventlog tdbs readonly.
Guenther
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/eventlogadm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/eventlogadm.c b/source3/utils/eventlogadm.c
index 5fed4d1a39..7d40772423 100644
--- a/source3/utils/eventlogadm.c
+++ b/source3/utils/eventlogadm.c
@@ -103,7 +103,7 @@ static int DoWriteCommand( int argc, char **argv, bool debugflag, char *exename
argfname = argv[0];
- if ( !( etdb = elog_open_tdb( argfname, False ) ) ) {
+ if ( !( etdb = elog_open_tdb( argfname, False, False ) ) ) {
printf( "can't open the eventlog TDB (%s)\n", argfname );
return -1;
}