test/ipsec: fix a typo in function name
[dpdk.git] / app / test / test_pdump.c
index 4a894c0..ad18318 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;
@@ -172,7 +171,7 @@ run_pdump_server_tests(void)
        int ret = 0;
        char coremask[10];
 
-#ifdef RTE_EXEC_ENV_LINUXAPP
+#ifdef RTE_EXEC_ENV_LINUX
        char tmp[PATH_MAX] = { 0 };
        char prefix[PATH_MAX] = { 0 };