summaryrefslogtreecommitdiffstats
path: root/source/tdb/tdb.c
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2001-12-10 07:02:58 +0000
committerMartin Pool <mbp@samba.org>2001-12-10 07:02:58 +0000
commit8118676f780a80662f28c3cc1a74cc12d0e1ef51 (patch)
treea61e5bfa86c6cd548f3a94d2d2a3eb898c289e8f /source/tdb/tdb.c
parentb50e566ab93e9a8068e26c9c902db81311cb394c (diff)
downloadsamba-8118676f780a80662f28c3cc1a74cc12d0e1ef51.tar.gz
samba-8118676f780a80662f28c3cc1a74cc12d0e1ef51.tar.xz
samba-8118676f780a80662f28c3cc1a74cc12d0e1ef51.zip
Log more error messages.
Diffstat (limited to 'source/tdb/tdb.c')
-rw-r--r--source/tdb/tdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/tdb/tdb.c b/source/tdb/tdb.c
index ac1901649d3..881d9b6ee5d 100644
--- 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)