mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2025-04-21 12:27:27 +03:00
m1/perf/: a bunch of bug fixes all over the place
This commit is contained in:
@@ -45,7 +45,7 @@ int main(int argc, char **argv)
|
||||
perror(name);
|
||||
exit(1);
|
||||
}
|
||||
got = fread(buf, sizeof(buf)-1, 1, file);
|
||||
got = fread(buf, 1, sizeof(buf)-1, file);
|
||||
if (got < 0) {
|
||||
perror(name);
|
||||
exit(1);
|
||||
|
||||
Reference in New Issue
Block a user