aboutsummaryrefslogtreecommitdiffstats
path: root/plugin_diskstats.c
diff options
context:
space:
mode:
authorreinelt <>2004-06-17 10:58:58 +0000
committerreinelt <>2004-06-17 10:58:58 +0000
commite2fbd653b47bcd69d8adf571374af8eb923ea6eb (patch)
treec437d771677be04dbbe947dd9040e681d5aade03 /plugin_diskstats.c
parenta43b08b32bebb2bb48da9fe4e130c4f4067b3c41 (diff)
downloadlcd4linux-e2fbd653b47bcd69d8adf571374af8eb923ea6eb.tar.gz
[lcd4linux @ 2004-06-17 10:58:57 by reinelt]
changed plugin_netdev to use the new fast hash model
Diffstat (limited to 'plugin_diskstats.c')
-rw-r--r--plugin_diskstats.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugin_diskstats.c b/plugin_diskstats.c
index 8ca519d..7dd0b03 100644
--- a/plugin_diskstats.c
+++ b/plugin_diskstats.c
@@ -1,4 +1,4 @@
-/* $Id: plugin_diskstats.c,v 1.3 2004/06/17 06:23:43 reinelt Exp $
+/* $Id: plugin_diskstats.c,v 1.4 2004/06/17 10:58:58 reinelt Exp $
*
* plugin for /proc/diskstats parsing
*
@@ -23,6 +23,10 @@
*
*
* $Log: plugin_diskstats.c,v $
+ * Revision 1.4 2004/06/17 10:58:58 reinelt
+ *
+ * changed plugin_netdev to use the new fast hash model
+ *
* Revision 1.3 2004/06/17 06:23:43 reinelt
*
* hash handling rewritten to solve performance issues
@@ -92,7 +96,7 @@ static int parse_diskstats (void)
end = beg;
while (*beg) {
while (*beg == ' ') beg++;
- end = beg+1;
+ end = beg + 1;
while (*end && *end != ' ') end++;
if (num++ == 2) break;
beg = end ? end+1 : NULL;