summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/tools
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-08-23 02:51:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:16:34 -0500
commit36cb569e9be142f0b4a4e584a365b35e8bfa454d (patch)
tree55e9c3ba7ebb8d5a86673900fe64b43d7db1804b /source4/lib/tdb/tools
parent1f7a8131998d7e1d6c6064219f9a6526be5380d3 (diff)
downloadsamba-36cb569e9be142f0b4a4e584a365b35e8bfa454d.tar.gz
samba-36cb569e9be142f0b4a4e584a365b35e8bfa454d.tar.bz2
samba-36cb569e9be142f0b4a4e584a365b35e8bfa454d.zip
r17737: fixed a 'declaration in code' error
(This used to be commit aca417c6b164b54334cc46e126dd362ddab509d3)
Diffstat (limited to 'source4/lib/tdb/tools')
-rw-r--r--source4/lib/tdb/tools/tdbtool.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/tdb/tools/tdbtool.c b/source4/lib/tdb/tools/tdbtool.c
index 903cbe7769..de0ecdd7ca 100644
--- a/source4/lib/tdb/tools/tdbtool.c
+++ b/source4/lib/tdb/tools/tdbtool.c
@@ -203,9 +203,10 @@ static void create_tdb(void)
static void open_tdb(void)
{
struct tdb_logging_context log_ctx;
+ char *tok = get_token(1);
+
log_ctx.log_fn = tdb_log;
- char *tok = get_token(1);
if (!tok) {
help();
return;