aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/mount
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2020-08-07 02:48:19 +0000
committerWarner Losh <imp@FreeBSD.org>2020-08-07 02:48:19 +0000
commit57d4cc2c58b361cac8cae0b48ee094b6ea6870f1 (patch)
treeadc0d0c29bc9bc6d0588df6947b42144a2f21083 /sbin/mount
parentc9d886cd7f83bccdf25b839868afed4a089c50ec (diff)
downloadsrc-57d4cc2c58b361cac8cae0b48ee094b6ea6870f1.tar.gz
src-57d4cc2c58b361cac8cae0b48ee094b6ea6870f1.zip
All the other printf() calls cast to (void) here, do the two newer ones for
consistency.
Notes
Notes: svn path=/head/; revision=364004
Diffstat (limited to 'sbin/mount')
-rw-r--r--sbin/mount/mount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c
index 938a220b41c3..e9424c4eb413 100644
--- a/sbin/mount/mount.c
+++ b/sbin/mount/mount.c
@@ -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");