summaryrefslogtreecommitdiff
path: root/source3/tdb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/tdb')
-rw-r--r--source3/tdb/common/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/tdb/common/io.c b/source3/tdb/common/io.c
index 1fa947019b..988ce1d911 100644
--- a/source3/tdb/common/io.c
+++ b/source3/tdb/common/io.c
@@ -126,7 +126,7 @@ static int tdb_read(struct tdb_context *tdb, tdb_off_t off, void *buf,
tdb->ecode = TDB_ERR_IO;
TDB_LOG((tdb, TDB_DEBUG_FATAL,"tdb_read failed at %d "
"len=%d ret=%d (%s) map_size=%d\n",
- (int)off, (int)len, ret, strerror(errno),
+ (int)off, (int)len, (int)ret, strerror(errno),
(int)tdb->map_size));
return TDB_ERRCODE(TDB_ERR_IO, -1);
}