upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / iftop / repos / community-x86_64 / mac-address-fix.patch
blobedb453f1448d2201a444bbae167a726a6741261b
1 --- iftop.c.old 2014-01-20 04:21:19.000000000 +0800
2 +++ iftop.c 2014-03-03 12:49:57.383335066 +0800
3 @@ -713,7 +713,7 @@ void packet_init() {
4 if(have_hw_addr) {
5 fprintf(stderr, "MAC address is:");
6 for (i = 0; i < 6; ++i)
7 - fprintf(stderr, "%c%02x", i ? ':' : ' ', (unsigned int)if_hw_addr[i]);
8 + fprintf(stderr, "%c%02x", i ? ':' : ' ', (unsigned char)if_hw_addr[i]);
9 fprintf(stderr, "\n");