aboutsummaryrefslogtreecommitdiffstats
path: root/plugin_diskstats.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-06-17 10:58:58 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-06-17 10:58:58 +0000
commit0901696b219cd8d65b368b45712cb22b5b0b7138 (patch)
treec437d771677be04dbbe947dd9040e681d5aade03 /plugin_diskstats.c
parent1d354fd87d4c07906e82d104ba8614d30ae9cbbe (diff)
downloadlcd4linux-0901696b219cd8d65b368b45712cb22b5b0b7138.tar.gz
[lcd4linux @ 2004-06-17 10:58:57 by reinelt]
changed plugin_netdev to use the new fast hash model git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@474 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
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;