summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/systat/sensors.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/systat/sensors.c b/usr.bin/systat/sensors.c
index 23a28d01fc8..c0fd8957add 100644
--- a/usr.bin/systat/sensors.c
+++ b/usr.bin/systat/sensors.c
@@ -25,6 +25,7 @@
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include "systat.h"
#include "extern.h"
@@ -120,6 +121,7 @@ int
initsensors(void)
{
fetchsensors();
+ return (1);
}
void