Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > 67f2b7a844e263df652b2e5cf5a494c0 > files > 1

cpufrequtils-008-2.fc13.src.rpm

--- cpufrequtils-008/utils/aperf.c	2010-07-05 17:43:17.000000000 +0200
+++ cpufrequtils-008/utils/aperf.c.new	2011-02-07 17:02:29.359278003 +0100
@@ -96,7 +96,7 @@
 		return -1;
 	if (lseek(fd, idx, SEEK_CUR) == -1)
 		goto err;
-	if (read(fd, val, sizeof val) != sizeof *val)
+	if (read(fd, val, sizeof *val) != sizeof *val)
 		goto err;
 	close(fd);
 	return 0;