svn commit: r362807 - head/usr.sbin/sesutil
Edward Tomasz Napierala
trasz at FreeBSD.org
Tue Jun 30 16:49:44 UTC 2020
Author: trasz
Date: Tue Jun 30 16:49:43 2020
New Revision: 362807
URL: https://svnweb.freebsd.org/changeset/base/362807
Log:
Fix misplaced voltages/temperatures labels in 'sesutil show'.
PR: bin/247384
Reported by: brd
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D25353
Modified:
head/usr.sbin/sesutil/sesutil.c
Modified: head/usr.sbin/sesutil/sesutil.c
==============================================================================
--- head/usr.sbin/sesutil/sesutil.c Tue Jun 30 16:24:28 2020 (r362806)
+++ head/usr.sbin/sesutil/sesutil.c Tue Jun 30 16:49:43 2020 (r362807)
@@ -831,7 +831,7 @@ show(int argc, char **argv __unused)
break;
case ELMTYP_THERM:
if (e_ptr[j].elm_type != prev_type)
- xo_emit("\nVoltages: ");
+ xo_emit("\nTemperatures: ");
else
xo_emit(", ");
prev_type = e_ptr[j].elm_type;
@@ -839,7 +839,7 @@ show(int argc, char **argv __unused)
break;
case ELMTYP_VOM:
if (e_ptr[j].elm_type != prev_type)
- xo_emit("\nTemperatures: ");
+ xo_emit("\nVoltages: ");
else
xo_emit(", ");
prev_type = e_ptr[j].elm_type;
More information about the svn-src-all
mailing list