mempool: fix slow allocation of large pools
[dpdk.git] / lib / librte_eal / common / eal_common_errno.c
index c63a943..2a10fb8 100644 (file)
@@ -21,7 +21,7 @@ const char *
 rte_strerror(int errnum)
 {
        /* BSD puts a colon in the "unknown error" messages, Linux doesn't */
-#ifdef RTE_EXEC_ENV_BSDAPP
+#ifdef RTE_EXEC_ENV_FREEBSD
        static const char *sep = ":";
 #else
        static const char *sep = "";