All the other printf() calls cast to (void) here, do the two newer ones for

consistency.
This commit is contained in:
Warner Losh 2020-08-07 02:48:19 +00:00
parent c9d886cd7f
commit 57d4cc2c58
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=364004

View file

@ -697,9 +697,9 @@ prmount(struct statfs *sfp)
(uintmax_t)sfp->f_syncreads,
(uintmax_t)sfp->f_asyncreads);
if (sfp->f_fsid.val[0] != 0 || sfp->f_fsid.val[1] != 0) {
printf(", fsid ");
(void)printf(", fsid ");
for (i = 0; i < sizeof(sfp->f_fsid); i++)
printf("%02x", ((u_char *)&sfp->f_fsid)[i]);
(void)printf("%02x", ((u_char *)&sfp->f_fsid)[i]);
}
}
(void)printf(")\n");