Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Oct 2018 21:13:58 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r339493 - head/sbin/nvmecontrol
Message-ID:  <201810202113.w9KLDwiF029200@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810202113.w9KLDwiF029200>