From: Andrew Tridgell Date: Fri, 4 Jul 2008 07:04:37 +0000 (+1000) Subject: fixed a warning X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=015cd221c3c62eaa3cd0351fb8e93292c7c293aa;p=metze%2Fctdb%2Fwip.git fixed a warning --- diff --git a/server/ctdb_takeover.c b/server/ctdb_takeover.c index c4b6c829..10369d4b 100644 --- a/server/ctdb_takeover.c +++ b/server/ctdb_takeover.c @@ -1775,7 +1775,9 @@ int32_t ctdb_control_send_gratious_arp(struct ctdb_context *ctdb, TDB_DATA indat /* verify the size of indata */ if (indata.dsize < offsetof(struct ctdb_control_gratious_arp, iface)) { - DEBUG(DEBUG_ERR,(__location__ " Too small indata to hold a ctdb_control_gratious_arp structure. Got %u require %u bytes\n", indata.dsize, offsetof(struct ctdb_control_gratious_arp, iface))); + DEBUG(DEBUG_ERR,(__location__ " Too small indata to hold a ctdb_control_gratious_arp structure. Got %u require %u bytes\n", + (unsigned)indata.dsize, + (unsigned)offsetof(struct ctdb_control_gratious_arp, iface))); return -1; } if (indata.dsize !=