1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

fixed a warning

(This used to be ctdb commit f34d0f9351c1cda3327efb14e173f249f7854570)
This commit is contained in:
Andrew Tridgell 2008-01-05 09:30:49 +11:00
parent 9ea20f3916
commit e9987cf236

View File

@ -1738,10 +1738,10 @@ int32_t ctdb_control_send_gratious_arp(struct ctdb_context *ctdb, TDB_DATA indat
( 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;
}