No point in using float here; makes evbmips64 need __truncdfsf2, and that

causes static linking issues because of softfloat.
This commit is contained in:
christos 2016-10-04 17:36:21 +00:00
parent e433d111ad
commit bb762fe5ee
1 changed files with 3 additions and 3 deletions

View File

@ -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.
@ -70,7 +70,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1986, 1991, 1993\
#if 0
static char sccsid[] = "@(#)vmstat.c 8.2 (Berkeley) 3/1/95";
#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 /* not lint */
@ -1643,7 +1643,7 @@ dopoolcache_sysctl(int verbose)
bool first = true;
int ovflw;
uint64_t tot;
float p;
double p;
data = asysctlbyname("kern.pool", &len);
if (data == NULL)