Fix an error in a network device statistics macro

This commit is contained in:
Gregory Nutt 2015-11-26 14:44:07 -06:00
parent f41ad9caa1
commit 5d1557b28d

View File

@ -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 \
{ \