[dpdk-dev] [PATCH] eal: cleanup strerror function

Stephen Hemminger stephen at networkplumber.org
Thu Sep 7 19:51:52 CEST 2017


On Thu,  7 Sep 2017 14:09:56 +0100
Bruce Richardson <bruce.richardson at intel.com> wrote:

> +	/* BSD puts a colon in the "unknown error" messages, Linux doesn't */
> +#ifdef RTE_EXEC_ENV_BSDAPP
> +	static const char *sep = ":";
> +#else
> +	static const char *sep = "";
> +#endif

This is seems unnecessary to me just have the message be different.


More information about the dev mailing list