svn commit: r364004 - head/sbin/mount

Warner Losh imp at FreeBSD.org
Fri Aug 7 02:48:20 UTC 2020


Author: imp
Date: Fri Aug  7 02:48:19 2020
New Revision: 364004
URL: https://svnweb.freebsd.org/changeset/base/364004

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

Modified:
  head/sbin/mount/mount.c

Modified: head/sbin/mount/mount.c
==============================================================================
--- head/sbin/mount/mount.c	Fri Aug  7 01:05:10 2020	(r364003)
+++ head/sbin/mount/mount.c	Fri Aug  7 02:48:19 2020	(r364004)
@@ -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");


More information about the svn-src-head mailing list