Fix an error in a network device statistics macro
This commit is contained in:
parent
f41ad9caa1
commit
5d1557b28d
@ -72,7 +72,7 @@
|
||||
# define NETDEV_RESET_STATISTICS(dev) \
|
||||
memset(&(dev)->d_statistics, 0, sizeof(struct netdev_statistics_s))
|
||||
|
||||
# define _NETDEV_STATISTIC(dev,name) ((dev)->d_statistics.name)
|
||||
# define _NETDEV_STATISTIC(dev,name) ((dev)->d_statistics.name++)
|
||||
# define _NETDEV_ERROR(dev,name) \
|
||||
do \
|
||||
{ \
|
||||
|
Loading…
Reference in New Issue
Block a user