Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 1474939c81c142cd5ff48ab6c70d102b > files > 1

cpufrequtils-008-3.fc14.src.rpm

--- cpufrequtils-008/utils/aperf.c	2010-07-05 17:43:17.000000000 +0200
+++ cpufrequtils-008/utils/aperf.c.new	2011-02-07 16:34:17.421278000 +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;