]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_mp_secondary.c
app: use common macro RTE_DIM
[dpdk.git] / app / test / test_mp_secondary.c
index 2ac33f781982c3d795788e050b44532ceba5dfda..ac15ddbf20099d4f6644429a7ed463095549f9ad 100644 (file)
@@ -47,8 +47,7 @@
 
 #include "process.h"
 
-#define launch_proc(ARGV) process_dup(ARGV, \
-               sizeof(ARGV)/(sizeof(ARGV[0])), __func__)
+#define launch_proc(ARGV) process_dup(ARGV, RTE_DIM(ARGV), __func__)
 
 /*
  * This function is called in the primary i.e. main test, to spawn off secondary