diff options
author | Michael Adam <obnox@samba.org> | 2007-07-12 13:41:34 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:28:34 -0500 |
commit | c52c8b4821e26bb0192858612fd27ab1cc5c9849 (patch) | |
tree | 13f223cdf2574152290cabd267e578f131c30b46 /source3/lib/tdb/tools | |
parent | 451224166dd8f0e91907f541d15febb385360c09 (diff) | |
download | samba-c52c8b4821e26bb0192858612fd27ab1cc5c9849.tar.gz samba-c52c8b4821e26bb0192858612fd27ab1cc5c9849.tar.bz2 samba-c52c8b4821e26bb0192858612fd27ab1cc5c9849.zip |
r23853: Fix a very misleading error message in tdbbackup.
Michael
(This used to be commit 3a2a032a44502eebdb61faf9cfdb3e54f5072514)
Diffstat (limited to 'source3/lib/tdb/tools')
-rw-r--r-- | source3/lib/tdb/tools/tdbbackup.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |