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 15:01:04 -0500 |
commit | 5c98bbe2f0a3ee60f5e9bdeb0588eebc7acc8ba2 (patch) | |
tree | db35824d8fdd582c087935bd49a3e6b9de38dd7f | |
parent | 762f9efa485323728679f10b1f51632e58ca81c1 (diff) | |
download | samba-5c98bbe2f0a3ee60f5e9bdeb0588eebc7acc8ba2.tar.gz samba-5c98bbe2f0a3ee60f5e9bdeb0588eebc7acc8ba2.tar.bz2 samba-5c98bbe2f0a3ee60f5e9bdeb0588eebc7acc8ba2.zip |
r23853: Fix a very misleading error message in tdbbackup.
Michael
(This used to be commit 1685057927e0ae37ed6be780ee0fb4b3bbefc00f)
-rw-r--r-- | source4/lib/tdb/tools/tdbbackup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/tdb/tools/tdbbackup.c b/source4/lib/tdb/tools/tdbbackup.c index 2a75c44b1d..b9fbc41447 100644 --- a/source4/lib/tdb/tools/tdbbackup.c +++ b/source4/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; } |