Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Oct 2021 19:46:53 GMT
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 0cd92f24011b - stable/12 - ses: Correct spelling of "Temperature Sensor"
Message-ID:  <202110071946.197Jkrl9068417@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by asomers:

URL: https://cgit.FreeBSD.org/src/commit/?id=0cd92f24011ba3aa400c5fdf906f9bf6e30976c8

commit 0cd92f24011ba3aa400c5fdf906f9bf6e30976c8
Author:     Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2021-08-30 19:59:32 +0000
Commit:     Alan Somers <asomers@FreeBSD.org>
CommitDate: 2021-10-07 19:46:31 +0000

    ses: Correct spelling of "Temperature Sensor"
    
    According to SES 4 revision 2 table 71, it should be singular.
    
    Sponsored by:   Axcient
    
    (cherry picked from commit 1fb52e4373e7f645d71059a6a403469f059044c8)
---
 share/examples/ses/srcs/eltsub.c | 2 +-
 sys/cam/scsi/scsi_enc.h          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/examples/ses/srcs/eltsub.c b/share/examples/ses/srcs/eltsub.c
index c664895b054c..0dfded94a583 100644
--- a/share/examples/ses/srcs/eltsub.c
+++ b/share/examples/ses/srcs/eltsub.c
@@ -62,7 +62,7 @@ geteltnm(int type)
 		sprintf(rbuf, "Cooling");
 		break;
 	case ELMTYP_THERM:
-		sprintf(rbuf, "Temperature Sensors");
+		sprintf(rbuf, "Temperature Sensor");
 		break;
 	case ELMTYP_DOORLOCK:
 		sprintf(rbuf, "Door Lock");
diff --git a/sys/cam/scsi/scsi_enc.h b/sys/cam/scsi/scsi_enc.h
index f9abe099e337..cafec644bde4 100644
--- a/sys/cam/scsi/scsi_enc.h
+++ b/sys/cam/scsi/scsi_enc.h
@@ -130,7 +130,7 @@ typedef enum {
 	"Device Slot",					\
 	"Power Supply",					\
 	"Cooling",					\
-	"Temperature Sensors",				\
+	"Temperature Sensor",				\
 	"Door",						\
 	"Audible alarm",				\
 	"Enclosure Services Controller Electronics",	\



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