------------------------------------------------------------
revno: 702
revision-id:[EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
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;
        }
 

Reply via email to