diff options
author | 2007-02-25 22:36:40 +0000 | |
---|---|---|
committer | 2007-02-25 22:36:40 +0000 | |
commit | f48426971ffeb30dfba0d68bf69308a5d71e5eae (patch) | |
tree | 9b532e24696c00caaf926584518c42864d6a67e9 | |
parent | Add cas(4). Ad a few missing comments while there. (diff) | |
download | wireguard-openbsd-f48426971ffeb30dfba0d68bf69308a5d71e5eae.tar.xz wireguard-openbsd-f48426971ffeb30dfba0d68bf69308a5d71e5eae.zip |
add missing include, and int return value.
ok deraadt, deanna
-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 |