git.samba.org
/
jelmer
/
samba4-debian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0fc9b01
)
r23853: Fix a very misleading error message in tdbbackup.
author
Michael Adam
<obnox@samba.org>
Thu, 12 Jul 2007 13:41:34 +0000
(13:41 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 20:01:04 +0000
(15:01 -0500)
Michael
source/lib/tdb/tools/tdbbackup.c
patch
|
blob
|
history
diff --git
a/source/lib/tdb/tools/tdbbackup.c
b/source/lib/tdb/tools/tdbbackup.c
index 2a75c44b1d4f5e7a42c501e5cff8deea20f19be6..b9fbc41447d0f87e543d1caa1d1a776793aefe76 100644
(file)
--- a/
source/lib/tdb/tools/tdbbackup.c
+++ b/
source/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;
}