+2
−2
Loading
opts->env_context could have more options specified than just --legacy-mem. So strcmp() is not a valid comparison operator - we need to use strstr instead. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: Ie4c8cbcbe7c141693a07a11648d6673ec8c012e5 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/477087 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Alexey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>