Make it clear that we're ignoring the return value fread(3). All
errors that might happen here will be reported a few lines down. CID: 1295248
This commit is contained in:
parent
d1f6fa8f71
commit
b14fc856d7
@ -714,7 +714,7 @@ kernconfdump(const char *file)
|
||||
if (pp == NULL)
|
||||
errx(EXIT_FAILURE, "popen() failed");
|
||||
free(cmd);
|
||||
fread(o, osz, 1, pp);
|
||||
(void)fread(o, osz, 1, pp);
|
||||
pclose(pp);
|
||||
r = sscanf(o, "%d%d%d%d%d", &off, &size, &t1, &t2, &align);
|
||||
free(o);
|
||||
|
Loading…
x
Reference in New Issue
Block a user