diff options
author | Steven Mestdagh <steven@cvs.openbsd.org> | 2007-02-25 22:36:41 +0000 |
---|---|---|
committer | Steven Mestdagh <steven@cvs.openbsd.org> | 2007-02-25 22:36:41 +0000 |
commit | d1551cfef264a45f5e4dd38602be3c820fc9e553 (patch) | |
tree | a18252250edbe1c6b203ecf043ef702761608c4b /usr.bin/systat/sensors.c | |
parent | 97664b3593598e0f16abc702f62b72139842137d (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.c | 2 |
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 |