From c52c8b4821e26bb0192858612fd27ab1cc5c9849 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 12 Jul 2007 13:41:34 +0000 Subject: r23853: Fix a very misleading error message in tdbbackup. Michael (This used to be commit 3a2a032a44502eebdb61faf9cfdb3e54f5072514) --- source3/lib/tdb/tools/tdbbackup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib') diff --git a/source3/lib/tdb/tools/tdbbackup.c b/source3/lib/tdb/tools/tdbbackup.c index 2a75c44b1d..b9fbc41447 100644 --- a/source3/lib/tdb/tools/tdbbackup.c +++ b/source3/lib/tdb/tools/tdbbackup.c @@ -70,7 +70,7 @@ static int copy_fn(TDB_CONTEXT *tdb, TDB_DATA key, TDB_DATA dbuf, void *state) TDB_CONTEXT *tdb_new = (TDB_CONTEXT *)state; if (tdb_store(tdb_new, key, dbuf, TDB_INSERT) != 0) { - fprintf(stderr,"Failed to insert into %s\n", tdb_name(tdb)); + fprintf(stderr,"Failed to insert into %s\n", tdb_name(tdb_new)); failed = 1; return 1; } -- cgit