From b8948860612c029177968b016b0dbba560095467 Mon Sep 17 00:00:00 2001 From: imp Date: Mon, 24 Aug 2015 00:34:09 +0000 Subject: 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 --- usr.sbin/config/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/config') diff --git a/usr.sbin/config/main.c b/usr.sbin/config/main.c index f2d2a70..c87f3bb 100644 --- a/usr.sbin/config/main.c +++ b/usr.sbin/config/main.c @@ -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); -- cgit v1.1