Module Name: src Committed By: christos Date: Tue Oct 4 17:36:21 UTC 2016
Modified Files: src/usr.bin/vmstat: vmstat.c Log Message: No point in using float here; makes evbmips64 need __truncdfsf2, and that causes static linking issues because of softfloat. To generate a diff of this commit: cvs rdiff -u -r1.207 -r1.208 src/usr.bin/vmstat/vmstat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/vmstat/vmstat.c diff -u src/usr.bin/vmstat/vmstat.c:1.207 src/usr.bin/vmstat/vmstat.c:1.208 --- src/usr.bin/vmstat/vmstat.c:1.207 Sun Sep 4 20:40:30 2016 +++ src/usr.bin/vmstat/vmstat.c Tue Oct 4 13:36:21 2016 @@ -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, 19 #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)