]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
dpdk: fix clang issue for deprecated function patch
authorKevin Laatz <kevin.laatz@intel.com>
Wed, 27 Jun 2018 13:10:05 +0000 (14:10 +0100)
committerKevin Laatz <kevin.laatz@intel.com>
Wed, 27 Jun 2018 13:24:19 +0000 (14:24 +0100)
Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
src/dpdkevents.c

index 9fc42b336f617eb3afd2bc0e91f73cafbbd48bd6..0ce431ce287992e5a6fb8f5a110bc7c899eb4476 100644 (file)
@@ -419,7 +419,7 @@ static int dpdk_events_config(oconfig_item_t *ci) {
 static int dpdk_helper_link_status_get(dpdk_helper_ctx_t *phc) {
   dpdk_events_ctx_t *ec = DPDK_EVENTS_CTX_GET(phc);
 
-  /* get Link Status values from DPDK */
+/* get Link Status values from DPDK */
 #if RTE_VERSION < RTE_VERSION_NUM(18, 05, 0, 0)
   uint8_t nb_ports = rte_eth_dev_count();
 #else