r20503: And one more 64-bit warning
authorVolker Lendecke <vlendec@samba.org>
Wed, 3 Jan 2007 09:30:55 +0000 (09:30 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:16:54 +0000 (12:16 -0500)
(This used to be commit 7bcde1069e38d70808d78c408f16821a0bfadcdd)

source3/tdb/common/io.c

index 1fa947019bd65bc27bc574bfbfdb7dd11b6e5161..988ce1d911e40412761b74c104a97204ebce3cb1 100644 (file)
@@ -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);
                }