Skip to content
Snippets Groups Projects
Commit 5d1557b2 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Fix an error in a network device statistics macro

parent f41ad9ca
No related branches found
No related tags found
No related merge requests found
......@@ -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 \
{ \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment