svn commit: r339493 - head/sbin/nvmecontrol

Warner Losh imp at FreeBSD.org
Sat Oct 20 21:13:58 UTC 2018


Author: imp
Date: Sat Oct 20 21:13:57 2018
New Revision: 339493
URL: https://svnweb.freebsd.org/changeset/base/339493

Log:
  Fix typo
  
  The vendor name wds should have been wdc. Add wdc and keep the wds for
  script compat.
  
  MFC after: 3 days

Modified:
  head/sbin/nvmecontrol/logpage.c

Modified: head/sbin/nvmecontrol/logpage.c
==============================================================================
--- head/sbin/nvmecontrol/logpage.c	Sat Oct 20 21:09:12 2018	(r339492)
+++ head/sbin/nvmecontrol/logpage.c	Sat Oct 20 21:13:57 2018	(r339493)
@@ -865,6 +865,8 @@ static struct logpage_function {
 	 print_log_firmware,		sizeof(struct nvme_firmware_page)},
 	{HGST_INFO_LOG,			"hgst",	"Detailed Health/SMART",
 	 print_hgst_info_log,		DEFAULT_SIZE},
+	{HGST_INFO_LOG,			"wdc",	"Detailed Health/SMART",
+	 print_hgst_info_log,		DEFAULT_SIZE},
 	{HGST_INFO_LOG,			"wds",	"Detailed Health/SMART",
 	 print_hgst_info_log,		DEFAULT_SIZE},
 	{INTEL_LOG_TEMP_STATS,		"intel", "Temperature Stats",


More information about the svn-src-head mailing list