diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-01-21 11:31:23 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-01-21 11:31:23 +0000 |
commit | 660e7d3e1f1179178bb381d7fcbbc7bd86fb9b01 (patch) | |
tree | e7cfc08e66c6d9fd79ad641cbf08a82ab5085ad9 /plugin_proc_stat.c | |
parent | 16a678004a5aa6afafddc55bda1d05bfb0e8db22 (diff) | |
download | lcd4linux-660e7d3e1f1179178bb381d7fcbbc7bd86fb9b01.tar.gz |
[lcd4linux @ 2004-01-21 11:31:23 by reinelt]
two bugs with hash_age() ixed
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@330 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'plugin_proc_stat.c')
-rw-r--r-- | plugin_proc_stat.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugin_proc_stat.c b/plugin_proc_stat.c index d7d56c8..53cd81b 100644 --- a/plugin_proc_stat.c +++ b/plugin_proc_stat.c @@ -1,4 +1,4 @@ -/* $Id: plugin_proc_stat.c,v 1.7 2004/01/21 10:48:17 reinelt Exp $ +/* $Id: plugin_proc_stat.c,v 1.8 2004/01/21 11:31:23 reinelt Exp $ * * plugin for /proc/stat parsing * @@ -23,6 +23,9 @@ * * * $Log: plugin_proc_stat.c,v $ + * Revision 1.8 2004/01/21 11:31:23 reinelt + * two bugs with hash_age() ixed + * * Revision 1.7 2004/01/21 10:48:17 reinelt * hash_age function added * @@ -100,6 +103,7 @@ static void hash_set3 (char *key1, char *key2, char *key3, char *val) static int parse_proc_stat (void) { + int age; FILE *stream; // reread every 10 msec only |