projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2e511ca
)
removed invalid space from macro definition
author
Marek Becka
<marek.becka@superhosting.cz>
Thu, 23 Jan 2014 18:02:56 +0000
(19:02 +0100)
committer
Marek Becka
<marek.becka@superhosting.cz>
Thu, 23 Jan 2014 18:02:56 +0000
(19:02 +0100)
src/netlink.c
patch
|
blob
|
history
diff --git
a/src/netlink.c
b/src/netlink.c
index
5e670d4
..
de2de9b
100644
(file)
--- a/
src/netlink.c
+++ b/
src/netlink.c
@@
-310,10
+310,10
@@
static void check_ignorelist_and_submit (const char *dev,
} /* void check_ignorelist_and_submit */
} /* void check_ignorelist_and_submit */
-#define COPY_RTNL_LINK_VALUE
(dst_stats, src_stats, value_name) \
+#define COPY_RTNL_LINK_VALUE(dst_stats, src_stats, value_name) \
(dst_stats)->value_name = (src_stats)->value_name
(dst_stats)->value_name = (src_stats)->value_name
-#define COPY_RTNL_LINK_STATS
(dst_stats, src_stats) \
+#define COPY_RTNL_LINK_STATS(dst_stats, src_stats) \
COPY_RTNL_LINK_VALUE (dst_stats, src_stats, rx_packets); \
COPY_RTNL_LINK_VALUE (dst_stats, src_stats, tx_packets); \
COPY_RTNL_LINK_VALUE (dst_stats, src_stats, rx_bytes); \
COPY_RTNL_LINK_VALUE (dst_stats, src_stats, rx_packets); \
COPY_RTNL_LINK_VALUE (dst_stats, src_stats, tx_packets); \
COPY_RTNL_LINK_VALUE (dst_stats, src_stats, rx_bytes); \