Use unsigned printf/scanf conversion where more appropriate
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -459,12 +459,12 @@ static int arp_show(char *name)
|
||||
arp_disp(hostname, ip, type, flags, hwa, mask, dev);
|
||||
}
|
||||
if (option_mask32 & ARP_OPT_v)
|
||||
printf("Entries: %d\tSkipped: %d\tFound: %d\n",
|
||||
printf("Entries: %u\tSkipped: %u\tFound: %u\n",
|
||||
entries, entries - shown, shown);
|
||||
|
||||
if (!shown) {
|
||||
if (hw_set || host || device[0])
|
||||
printf("No match found in %d entries\n", entries);
|
||||
printf("No match found in %u entries\n", entries);
|
||||
}
|
||||
if (ENABLE_FEATURE_CLEAN_UP) {
|
||||
free((char*)host);
|
||||
|
Reference in New Issue
Block a user