git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b50e566
)
Log more error messages.
author
Martin Pool
<mbp@samba.org>
Mon, 10 Dec 2001 07:02:58 +0000
(07:02 +0000)
committer
Martin Pool
<mbp@samba.org>
Mon, 10 Dec 2001 07:02:58 +0000
(07:02 +0000)
source/tdb/tdb.c
patch
|
blob
|
history
diff --git
a/source/tdb/tdb.c
b/source/tdb/tdb.c
index ac1901649d361c99c819c8d87673d62cd091cfbf..881d9b6ee5db30eb9915f86d4f8702b06f895c73 100644
(file)
--- a/
source/tdb/tdb.c
+++ b/
source/tdb/tdb.c
@@
-1474,6
+1474,7
@@
TDB_CONTEXT *tdb_open_ex(char *name, int hash_size, int tdb_flags,
"failed to truncate %s: %s\n",
name, strerror(errno)));
goto fail; /* errno set by ftruncate */
+ }
}
if (read(tdb->fd, &tdb->header, sizeof(tdb->header)) != sizeof(tdb->header)