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
This commit is contained in:
parent
c2da36fecd
commit
3d10bf72ef
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user