]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - cpufrequtils/patches/cpufrequtils-008-aperf-32bit.patch
autoconf: updated to 2.69.
[people/arne_f/ipfire-3.x.git] / cpufrequtils / patches / cpufrequtils-008-aperf-32bit.patch
1 --- cpufrequtils-008/utils/aperf.c 2010-07-05 17:43:17.000000000 +0200
2 +++ cpufrequtils-008/utils/aperf.c.new 2011-02-07 16:34:17.421278000 +0100
3 @@ -96,7 +96,7 @@
4 return -1;
5 if (lseek(fd, idx, SEEK_CUR) == -1)
6 goto err;
7 - if (read(fd, val, sizeof val) != sizeof *val)
8 + if (read(fd, val, sizeof *val) != sizeof *val)
9 goto err;
10 close(fd);
11 return 0;