Commit e098347a authored by Changpeng Liu's avatar Changpeng Liu Committed by Ben Walker
Browse files

nvme: print correct shutdown timeout value for error case



Change-Id: I3db00323c20786713750d13a61b1531d8b1ce7f6
Signed-off-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.gerrithub.io/386087


Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent ed56bffb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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