summaryrefslogtreecommitdiffstats
path: root/package/iostat/iostat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/iostat/iostat.patch')
-rw-r--r--package/iostat/iostat.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/iostat/iostat.patch b/package/iostat/iostat.patch
new file mode 100644
index 000000000..acf2a52e4
--- /dev/null
+++ b/package/iostat/iostat.patch
@@ -0,0 +1,11 @@
+--- iostat-2.2/iostat.c.orig 2005-02-14 12:44:03.000000000 -0800
++++ iostat-2.2/iostat.c 2005-03-10 15:24:09.000000000 -0800
+@@ -140,7 +140,7 @@
+
+ handle_error("Can't open /proc/cpuinfo", !ncpufp);
+ while (fgets(buffer, sizeof(buffer), ncpufp)) {
+- if (!strncmp(buffer, "processor\t:", 11))
++ if (!strncmp(buffer, "processor\t", 10))
+ ncpu++;
+ }
+ fclose(ncpufp);