No point in using float here; makes evbmips64 need __truncdfsf2, and that
causes static linking issues because of softfloat.
This commit is contained in:
parent
e433d111ad
commit
bb762fe5ee
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: vmstat.c,v 1.207 2016/09/05 00:40:30 sevan Exp $ */
|
/* $NetBSD: vmstat.c,v 1.208 2016/10/04 17:36:21 christos Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1998, 2000, 2001, 2007 The NetBSD Foundation, Inc.
|
* Copyright (c) 1998, 2000, 2001, 2007 The NetBSD Foundation, Inc.
|
||||||
|
@ -70,7 +70,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1986, 1991, 1993\
|
||||||
#if 0
|
#if 0
|
||||||
static char sccsid[] = "@(#)vmstat.c 8.2 (Berkeley) 3/1/95";
|
static char sccsid[] = "@(#)vmstat.c 8.2 (Berkeley) 3/1/95";
|
||||||
#else
|
#else
|
||||||
__RCSID("$NetBSD: vmstat.c,v 1.207 2016/09/05 00:40:30 sevan Exp $");
|
__RCSID("$NetBSD: vmstat.c,v 1.208 2016/10/04 17:36:21 christos Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
|
@ -1643,7 +1643,7 @@ dopoolcache_sysctl(int verbose)
|
||||||
bool first = true;
|
bool first = true;
|
||||||
int ovflw;
|
int ovflw;
|
||||||
uint64_t tot;
|
uint64_t tot;
|
||||||
float p;
|
double p;
|
||||||
|
|
||||||
data = asysctlbyname("kern.pool", &len);
|
data = asysctlbyname("kern.pool", &len);
|
||||||
if (data == NULL)
|
if (data == NULL)
|
||||||
|
|
Loading…
Reference in New Issue