summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-11-17 21:07:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:26 -0500
commit7c5d5ddb6d02f52d3baaad393142dcc259c2009c (patch)
tree829bb9674db4e137e6ee9a558c494a647ba11b7b
parent1ce288386575fb1c9d464ff463094c2294cb5564 (diff)
downloadsamba-7c5d5ddb6d02f52d3baaad393142dcc259c2009c.tar.gz
samba-7c5d5ddb6d02f52d3baaad393142dcc259c2009c.tar.bz2
samba-7c5d5ddb6d02f52d3baaad393142dcc259c2009c.zip
r11763: fix more build breakage
(This used to be commit 5ab76ec8f88da6d6f372b44b7533ca2cb6c2ba0b)
-rw-r--r--source3/utils/eventlogadm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/utils/eventlogadm.c b/source3/utils/eventlogadm.c
index 31e853b61f..1d60d6b7ea 100644
--- a/source3/utils/eventlogadm.c
+++ b/source3/utils/eventlogadm.c
@@ -79,7 +79,7 @@ int DoWriteCommand( int argc, char **argv, BOOL debugflag, char *exename )
{
FILE *f1;
char *argfname;
- TDB_CONTEXT *elog_tdb;
+ ELOG_TDB *etdb;
/* fixed constants are bad bad bad */
pstring linein;
@@ -100,7 +100,7 @@ int DoWriteCommand( int argc, char **argv, BOOL debugflag, char *exename )
argfname = argv[0];
- if ( !( elog_tdb = elog_open_tdb( argfname ) ) ) {
+ if ( !( etdb = elog_open_tdb( argfname, False ) ) ) {
printf( "can't open the eventlog TDB (%s)\n", argfname );
return -1;
}
@@ -130,7 +130,7 @@ int DoWriteCommand( int argc, char **argv, BOOL debugflag, char *exename )
/* printf("Writing to the event log\n"); */
- rcnum = write_eventlog_tdb( elog_tdb, &ee );
+ rcnum = write_eventlog_tdb( ELOG_TDB_CTX(etdb), &ee );
if ( !rcnum ) {
printf( "Can't write to the event log\n" );
} else {
@@ -146,7 +146,7 @@ int DoWriteCommand( int argc, char **argv, BOOL debugflag, char *exename )
}
}
- tdb_close( elog_tdb );
+ elog_close_tdb( etdb , False );
return 0;
}