From 3889518196ec6c6273131848dd7231f52f754b51 Mon Sep 17 00:00:00 2001 From: tedu Date: Sun, 26 Jun 2016 19:53:40 +0000 Subject: [PATCH] somebody forgot to look at format string warnings --- sbin/mount/mount.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index 97e54b5dabd..0cfd0f2fa66 100644 --- a/sbin/mount/mount.c +++ b/sbin/mount/mount.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mount.c,v 1.65 2016/06/20 08:36:36 ajacoutot Exp $ */ +/* $OpenBSD: mount.c,v 1.66 2016/06/26 19:53:40 tedu Exp $ */ /* $NetBSD: mount.c,v 1.24 1995/11/18 03:34:29 cgd Exp $ */ /* @@ -608,10 +608,10 @@ prmount(struct statfs *sf) "mode", tmpfs_args->ta_root_mode & 07777); if (verbose || tmpfs_args->ta_size_max) (void)printf("%s%s=%lu", !f++ ? " (" : ", ", - "size", tmpfs_args->ta_size_max); + "size", (unsigned long)tmpfs_args->ta_size_max); if (verbose || tmpfs_args->ta_nodes_max) (void)printf("%s%s=%lu", !f++ ? " (" : ", ", - "inodes", tmpfs_args->ta_nodes_max); + "inodes", (unsigned long)tmpfs_args->ta_nodes_max); } (void)printf(f ? ")\n" : "\n"); } -- 2.20.1