[NET]: Use %lx for netdev->features sysfs formatting.

Signed-off-by: David S. Miller <davem@davemloft.net>

+2 -1
+2 -1
net/core/net-sysfs.c
··· 21 #define to_net_dev(class) container_of(class, struct net_device, class_dev) 22 23 static const char fmt_hex[] = "%#x\n"; 24 static const char fmt_dec[] = "%d\n"; 25 static const char fmt_ulong[] = "%lu\n"; 26 ··· 92 NETDEVICE_ATTR(addr_len, fmt_dec); 93 NETDEVICE_ATTR(iflink, fmt_dec); 94 NETDEVICE_ATTR(ifindex, fmt_dec); 95 - NETDEVICE_ATTR(features, fmt_hex); 96 NETDEVICE_ATTR(type, fmt_dec); 97 98 /* use same locking rules as GIFHWADDR ioctl's */
··· 21 #define to_net_dev(class) container_of(class, struct net_device, class_dev) 22 23 static const char fmt_hex[] = "%#x\n"; 24 + static const char fmt_long_hex[] = "%#lx\n"; 25 static const char fmt_dec[] = "%d\n"; 26 static const char fmt_ulong[] = "%lu\n"; 27 ··· 91 NETDEVICE_ATTR(addr_len, fmt_dec); 92 NETDEVICE_ATTR(iflink, fmt_dec); 93 NETDEVICE_ATTR(ifindex, fmt_dec); 94 + NETDEVICE_ATTR(features, fmt_long_hex); 95 NETDEVICE_ATTR(type, fmt_dec); 96 97 /* use same locking rules as GIFHWADDR ioctl's */