diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2010-07-22 12:50:54 -0300 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-07-29 17:29:01 +0200 |
commit | ee77963588b09babfd71befb0b5eb9fd1e776bbc (patch) | |
tree | 4e2e4c56fcf6bfab0cfaf16ca9dd8cdc24dfc61a /package/iostat/iostat.patch | |
parent | ebf21166b7abc35f4faa4bded5c919641a282339 (diff) |
iostat: migrate to gentargets
Also make the cpu counting routine more reliable (for ARM it's
"Processor" in cpuinfo rather than "processor").
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/iostat/iostat.patch')
-rw-r--r-- | package/iostat/iostat.patch | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/package/iostat/iostat.patch b/package/iostat/iostat.patch deleted file mode 100644 index acf2a52e4..000000000 --- a/package/iostat/iostat.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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); |