From bf336ed4eeb6ade0e5c963b76683df3d1fd1fd7b Mon Sep 17 00:00:00 2001 From: reinelt <> Date: Tue, 28 Mar 2000 07:22:15 +0000 Subject: [lcd4linux @ 2000-03-28 07:22:15 by reinelt] version 0.95 released X11 driver up and running minor bugs fixed --- system.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'system.c') diff --git a/system.c b/system.c index b8c71b6..e2f979c 100644 --- a/system.c +++ b/system.c @@ -1,4 +1,4 @@ -/* $Id: system.c,v 1.8 2000/03/23 07:24:48 reinelt Exp $ +/* $Id: system.c,v 1.9 2000/03/28 07:22:15 reinelt Exp $ * * system status retreivement * @@ -20,6 +20,12 @@ * * * $Log: system.c,v $ + * Revision 1.9 2000/03/28 07:22:15 reinelt + * + * version 0.95 released + * X11 driver up and running + * minor bugs fixed + * * Revision 1.8 2000/03/23 07:24:48 reinelt * * PPM driver up and running (but slow!) @@ -102,21 +108,17 @@ #include #include #include +#include #include #include #include #include -#include +#include #include "system.h" #include "cfg.h" #include "filter.h" -#ifdef USE_SYSINFO -#include -#include -#endif - static int parse_meminfo (char *tag, char *buffer) { char *p; @@ -479,7 +481,7 @@ int Sensor (int index, double *val, double *min, double *max) { char buffer[32]; double value; - static int fd[SENSORS]={[0 ... SENSORS]=-2,}; + static int fd[SENSORS]={[0 ... SENSORS-1]=-2,}; static char *sensor[SENSORS]={NULL,}; static double val_buf[SENSORS]={0.0,}; static double min_buf[SENSORS]={0.0,}; -- cgit v1.2.3