aboutsummaryrefslogtreecommitdiffstats
path: root/plugin_cpuinfo.c
diff options
context:
space:
mode:
authorreinelt <>2004-01-16 11:12:26 +0000
committerreinelt <>2004-01-16 11:12:26 +0000
commit78edc6d12b0f0017cf88d8dca930ee2c41f99948 (patch)
tree14098d862eb2cef91f9c813eeedd8b1362cb1b58 /plugin_cpuinfo.c
parent235ee4da33d591b4fb0ca1bf97ede8bfb2235c98 (diff)
downloadlcd4linux-78edc6d12b0f0017cf88d8dca930ee2c41f99948.tar.gz
[lcd4linux @ 2004-01-16 11:12:26 by reinelt]
some bugs in plugin_xmms fixed, parsing moved to own function plugin_proc_stat nearly finished
Diffstat (limited to 'plugin_cpuinfo.c')
-rw-r--r--plugin_cpuinfo.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugin_cpuinfo.c b/plugin_cpuinfo.c
index efa5d4a..1102056 100644
--- a/plugin_cpuinfo.c
+++ b/plugin_cpuinfo.c
@@ -1,4 +1,4 @@
-/* $Id: plugin_cpuinfo.c,v 1.4 2004/01/16 07:26:25 reinelt Exp $
+/* $Id: plugin_cpuinfo.c,v 1.5 2004/01/16 11:12:26 reinelt Exp $
*
* plugin for /proc/cpuinfo parsing
*
@@ -23,6 +23,10 @@
*
*
* $Log: plugin_cpuinfo.c,v $
+ * Revision 1.5 2004/01/16 11:12:26 reinelt
+ * some bugs in plugin_xmms fixed, parsing moved to own function
+ * plugin_proc_stat nearly finished
+ *
* Revision 1.4 2004/01/16 07:26:25 reinelt
* moved various /proc parsing to own functions
* made some progress with /proc/stat parsing
@@ -100,7 +104,7 @@ static int parse_cpuinfo (void)
// strip trailing blanks from value
for (c=val; *c!='\0';c++);
while (isspace(*--c)) *c='\0';
-
+
// add entry to hash table
hash_set (&CPUinfo, key, val);