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:
Warner Losh 2015-08-24 00:34:09 +00:00
parent d1f6fa8f71
commit b14fc856d7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=287087

View File

@ -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);