summaryrefslogtreecommitdiff
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
commitdd9bdec3aa02ccdfc63d7da4f81f3f311d6f9e60 (patch)
tree31d9996a2be10b950569007e762fea36097e20b9
parent98d6d8cf9c581a88341e5b1bf093a2b6f6bed522 (diff)
downloadsamba-dd9bdec3aa02ccdfc63d7da4f81f3f311d6f9e60.tar.gz
samba-dd9bdec3aa02ccdfc63d7da4f81f3f311d6f9e60.tar.bz2
samba-dd9bdec3aa02ccdfc63d7da4f81f3f311d6f9e60.zip
Log more error messages.
(This used to be commit 8118676f780a80662f28c3cc1a74cc12d0e1ef51)
-rw-r--r--source3/tdb/tdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/tdb/tdb.c b/source3/tdb/tdb.c
index ac1901649d..881d9b6ee5 100644
--- a/source3/tdb/tdb.c
+++ b/source3/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)