diff options
author | bapt <bapt@FreeBSD.org> | 2015-12-11 20:45:39 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-12-11 20:45:39 +0000 |
commit | e149088043e6c1193382e2af3cf0609faf851310 (patch) | |
tree | 251519af3d649ea5dc2952367b4c474152f04457 /usr.sbin/sesutil/Makefile | |
parent | 8d8726ea868dc8e8e2dbaf693c2933d8aecd6e40 (diff) | |
download | FreeBSD-src-e149088043e6c1193382e2af3cf0609faf851310.zip FreeBSD-src-e149088043e6c1193382e2af3cf0609faf851310.tar.gz |
sesutil: Add extra information specific to some SES devices to sesutil map
Rework stat2ascii preparing a buffer of what could be printed. This prevent the
risk of overflowing a static buffer.
Do not print those informations anymore in the "status" but into a new
"extra status" only printed if there are actually extra things to print.
Now add those extra informations:
* Thermal sensor temperature
* Cooling devices speed
* Voltage sensors, current consumption
Tested by: AllanJude
Sponsored by: Gandi.net
Differential Revision: https://reviews.freebsd.org/D4520
Diffstat (limited to 'usr.sbin/sesutil/Makefile')
-rw-r--r-- | usr.sbin/sesutil/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/sesutil/Makefile b/usr.sbin/sesutil/Makefile index 347223d..bf37192 100644 --- a/usr.sbin/sesutil/Makefile +++ b/usr.sbin/sesutil/Makefile @@ -4,4 +4,6 @@ PROG= sesutil SRCS= sesutil.c eltsub.c MAN= sesutil.8 +LIBADD= sbuf + .include <bsd.prog.mk> |