diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-11-29 16:45:45 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-11-29 16:45:45 +0100 |
commit | 327f550669a80d72f36bc9e4de619c163aa46eff (patch) | |
tree | d304092aeb06539085be1385ab9298876c414b44 /networking/arp.c | |
parent | 9b2a9f0210f13f1c59c0b954c4aa0eeb0a66efd1 (diff) | |
download | busybox-w32-327f550669a80d72f36bc9e4de619c163aa46eff.tar.gz busybox-w32-327f550669a80d72f36bc9e4de619c163aa46eff.tar.bz2 busybox-w32-327f550669a80d72f36bc9e4de619c163aa46eff.zip |
Use unsigned printf/scanf conversion where more appropriate
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/arp.c')
-rw-r--r-- | networking/arp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/arp.c b/networking/arp.c index 40d244116..e79b1b6a1 100644 --- a/networking/arp.c +++ b/networking/arp.c | |||
@@ -459,12 +459,12 @@ static int arp_show(char *name) | |||
459 | arp_disp(hostname, ip, type, flags, hwa, mask, dev); | 459 | arp_disp(hostname, ip, type, flags, hwa, mask, dev); |
460 | } | 460 | } |
461 | if (option_mask32 & ARP_OPT_v) | 461 | if (option_mask32 & ARP_OPT_v) |
462 | printf("Entries: %d\tSkipped: %d\tFound: %d\n", | 462 | printf("Entries: %u\tSkipped: %u\tFound: %u\n", |
463 | entries, entries - shown, shown); | 463 | entries, entries - shown, shown); |
464 | 464 | ||
465 | if (!shown) { | 465 | if (!shown) { |
466 | if (hw_set || host || device[0]) | 466 | if (hw_set || host || device[0]) |
467 | printf("No match found in %d entries\n", entries); | 467 | printf("No match found in %u entries\n", entries); |
468 | } | 468 | } |
469 | if (ENABLE_FEATURE_CLEAN_UP) { | 469 | if (ENABLE_FEATURE_CLEAN_UP) { |
470 | free((char*)host); | 470 | free((char*)host); |