nvme: print correct shutdown timeout value for error case

Change-Id: I3db00323c20786713750d13a61b1531d8b1ce7f6
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.gerrithub.io/386087
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Changpeng Liu 2017-11-06 10:33:52 -05:00 committed by Ben Walker
parent ed56bffbcb
commit e098347a17

View File

@ -529,7 +529,7 @@ nvme_ctrlr_shutdown(struct spdk_nvme_ctrlr *ctrlr)
ms_waited++;
} while (ms_waited < shutdown_timeout_ms);
SPDK_ERRLOG("did not shutdown within 5 seconds\n");
SPDK_ERRLOG("did not shutdown within %u milliseconds\n", shutdown_timeout_ms);
}
static int