summaryrefslogtreecommitdiff
path: root/usr.bin/systat/sensors.c
diff options
context:
space:
mode:
authorSteven Mestdagh <steven@cvs.openbsd.org>2007-02-25 22:36:41 +0000
committerSteven Mestdagh <steven@cvs.openbsd.org>2007-02-25 22:36:41 +0000
commitd1551cfef264a45f5e4dd38602be3c820fc9e553 (patch)
treea18252250edbe1c6b203ecf043ef702761608c4b /usr.bin/systat/sensors.c
parent97664b3593598e0f16abc702f62b72139842137d (diff)
add missing include, and int return value.
ok deraadt, deanna
Diffstat (limited to 'usr.bin/systat/sensors.c')
-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