bb9d17a5c3
va_list is not passed in logfunc, so the user-provided log call can't get the arguments corresponding to the format string. This patch fixes it and replaces log func pointer in spdk_app_opts with logfunc. Change-Id: I7f7806f47c4fd8f36f3234aa5a8c877db0fc7140 Signed-off-by: Yang Fan <fanyang@smartx.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/469828 Reviewed-by: Feng,Li <fengli@smartx.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
log_flags.c | ||
log.c | ||
Makefile |