Rev 702: fixed a warning in http://samba.org/~tridge/ctdb
tridge at samba.org
tridge at samba.org
Fri Jan 4 22:30:50 GMT 2008
------------------------------------------------------------
revno: 702
revision-id:tridge at samba.org-20080104223049-8x0qawug05w0j5q7
parent: tridge at samba.org-20080104223009-962no3gs6rpaetre
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge.kantana
timestamp: Sat 2008-01-05 09:30:49 +1100
message:
fixed a warning
modified:
server/ctdb_takeover.c ctdb_takeover.c-20070525071636-a5n1ihghjtppy08r-2
=== modified file 'server/ctdb_takeover.c'
--- a/server/ctdb_takeover.c 2007-12-02 23:19:24 +0000
+++ b/server/ctdb_takeover.c 2008-01-04 22:30:49 +0000
@@ -1738,10 +1738,10 @@
( offsetof(struct ctdb_control_gratious_arp, iface)
+ gratious_arp->len ) ){
- DEBUG(0,(__location__ " Wrong size of indata. Was %d bytes "
- "but should be %d bytes\n",
- indata.dsize,
- offsetof(struct ctdb_control_gratious_arp, iface)+gratious_arp->len));
+ DEBUG(0,(__location__ " Wrong size of indata. Was %u bytes "
+ "but should be %u bytes\n",
+ (unsigned)indata.dsize,
+ (unsigned)(offsetof(struct ctdb_control_gratious_arp, iface)+gratious_arp->len)));
return -1;
}
More information about the samba-cvs
mailing list