]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_pdump.c
app: use common macro RTE_DIM
[dpdk.git] / app / test / test_pdump.c
index af206968b38d92ba721f73704a5f93e564dba676..ad183184cee9098fc6dd67390d5e5f6b65856139 100644 (file)
@@ -18,8 +18,7 @@
 #include "process.h"
 #include "test_pdump.h"
 
-#define launch_p(ARGV) process_dup(ARGV, \
-               sizeof(ARGV)/(sizeof(ARGV[0])), __func__)
+#define launch_p(ARGV) process_dup(ARGV, RTE_DIM(ARGV), __func__)
 
 struct rte_ring *ring_server;
 uint16_t portid;