mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-16 06:52:27 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=287087
|
@ -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…
Reference in a new issue