iscsi: replace fprintf by SPDK_LOG
Replace usage of fprintf(err, *MSG*) by SPDK_ERRLOG(*MSG*) since in SPDK we always prefer later Change-Id: I3e2b5c12caa572b32236f5ede01b754b2e1e2a53 Signed-off-by: Vitaliy Mysak <vitaliy.mysak@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478940 Community-CI: SPDK CI Jenkins <sys_sgci@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
20c74e0c71
commit
1a5d78e32e
@ -150,7 +150,7 @@ int spdk_initialize_iscsi_conns(void)
|
||||
g_conns_array_fd, 0);
|
||||
|
||||
if (g_conns_array == MAP_FAILED) {
|
||||
fprintf(stderr, "could not mmap cons array file %s (%d)\n", g_shm_name, errno);
|
||||
SPDK_ERRLOG("could not mmap cons array file %s (%d)\n", g_shm_name, errno);
|
||||
goto err;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user