X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_eal%2Fcommon%2Feal_common_errno.c;h=0243816faeb789be6583c696f93d23a5b6516e11;hb=1896b4ec5e7ad5089fa17120bebf17d5dea8f476;hp=b2389187b660d3122c620794bdca996f2a776fc5;hpb=e9d48c0072d36eb6423b45fba4ec49d0def6c36f;p=dpdk.git diff --git a/lib/librte_eal/common/eal_common_errno.c b/lib/librte_eal/common/eal_common_errno.c index b2389187b6..0243816fae 100644 --- a/lib/librte_eal/common/eal_common_errno.c +++ b/lib/librte_eal/common/eal_common_errno.c @@ -53,7 +53,11 @@ rte_strerror(int errnum) * themselves if errnum is too big, we handle that case here */ if (errnum > RTE_MAX_ERRNO) rte_snprintf(RTE_PER_LCORE(retval), RETVAL_SZ, +#ifdef RTE_EXEC_ENV_BSDAPP + "Unknown error: %d", errnum); +#else "Unknown error %d", errnum); +#endif else switch (errnum){ case E_RTE_SECONDARY: