summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pstat
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2013-08-22 04:43:40 +0000
committerguenther <guenther@openbsd.org>2013-08-22 04:43:40 +0000
commit82ff36301fdb8c25511dd105cf211d26ea7f836e (patch)
treef17f8c8d35e761468f7997cee38d8a28bf837c8b /usr.sbin/pstat
parentSplit out from kdump.c the ktrstruct.c bits into ktrstruct.c (diff)
downloadwireguard-openbsd-82ff36301fdb8c25511dd105cf211d26ea7f836e.tar.xz
wireguard-openbsd-82ff36301fdb8c25511dd105cf211d26ea7f836e.zip
Correct format string mismatches turned up by -Wformat=2
suggestions and ok millert@
Diffstat (limited to 'usr.sbin/pstat')
-rw-r--r--usr.sbin/pstat/pstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index 8ae34e9e90b..ccfb8652d51 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pstat.c,v 1.85 2013/06/05 01:26:00 guenther Exp $ */
+/* $OpenBSD: pstat.c,v 1.86 2013/08/22 04:43:41 guenther Exp $ */
/* $NetBSD: pstat.c,v 1.27 1996/10/23 22:50:06 cgd Exp $ */
/*-
@@ -607,7 +607,7 @@ nfs_print(struct vnode *vp)
*flags++ = '-';
*flags = '\0';
- (void)printf(" %6ld %5s", np->n_vattr.va_fileid, flagbuf);
+ (void)printf(" %6lld %5s", (long long)np->n_vattr.va_fileid, flagbuf);
type = np->n_vattr.va_mode & S_IFMT;
if (S_ISCHR(np->n_vattr.va_mode) || S_ISBLK(np->n_vattr.va_mode))
if (usenumflag ||