summaryrefslogtreecommitdiff
path: root/source4/lib/tdb
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/tdb')
-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 f8105ad941..903cbe7769 100644
--- a/source4/lib/tdb/tools/tdbtool.c
+++ b/source4/lib/tdb/tools/tdbtool.c
@@ -183,10 +183,11 @@ static char *get_token(int startover)
static void create_tdb(void)
{
+ char *tok = get_token(1);
+
struct tdb_logging_context log_ctx;
log_ctx.log_fn = tdb_log;
- char *tok = get_token(1);
if (!tok) {
help();
return;