svn commit: samba r16293 - in trunk/source/tdb: .
jra at samba.org
jra at samba.org
Fri Jun 16 14:29:13 GMT 2006
Author: jra
Date: 2006-06-16 14:29:12 +0000 (Fri, 16 Jun 2006)
New Revision: 16293
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16293
Log:
Fix more format string warnings on a 64-bit box.
Jeremy.
Modified:
trunk/source/tdb/io.c
trunk/source/tdb/lock.c
Changeset:
Modified: trunk/source/tdb/io.c
===================================================================
--- trunk/source/tdb/io.c 2006-06-16 14:27:05 UTC (rev 16292)
+++ trunk/source/tdb/io.c 2006-06-16 14:29:12 UTC (rev 16293)
@@ -147,7 +147,7 @@
/* Ensure ecode is set for log fn. */
tdb->ecode = TDB_ERR_IO;
TDB_LOG((tdb, 0,"tdb_read failed at %d len=%d ret=%d (%s) map_size=%d\n",
- off, len, ret, strerror(errno), tdb->map_size));
+ off, len, (int)ret, strerror(errno), (int)tdb->map_size));
return TDB_ERRCODE(TDB_ERR_IO, -1);
}
}
Modified: trunk/source/tdb/lock.c
===================================================================
--- trunk/source/tdb/lock.c 2006-06-16 14:27:05 UTC (rev 16292)
+++ trunk/source/tdb/lock.c 2006-06-16 14:29:12 UTC (rev 16293)
@@ -69,7 +69,7 @@
/* Ensure error code is set for log fun to examine. */
tdb->ecode = TDB_ERR_LOCK;
TDB_LOG((tdb, 5,"tdb_brlock failed (fd=%d) at offset %d rw_type=%d lck_type=%d len=%d\n",
- tdb->fd, offset, rw_type, lck_type, len));
+ tdb->fd, offset, rw_type, lck_type, (int)len));
}
return TDB_ERRCODE(TDB_ERR_LOCK, -1);
}
More information about the samba-cvs
mailing list