Revert, see https://bugzilla.opensuse.org/show_bug.cgi?id=1198266 OBS-URL: https://build.opensuse.org/request/show/969331 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=127
18 lines
475 B
Plaintext
18 lines
475 B
Plaintext
---
|
|
vmstat.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
--- vmstat.c
|
|
+++ vmstat.c 2016-07-11 13:18:04.993371059 +0000
|
|
@@ -273,8 +273,8 @@ static void new_header(void)
|
|
|
|
static unsigned long unitConvert(unsigned long size)
|
|
{
|
|
- float cvSize;
|
|
- cvSize = (float)size / dataUnit * ((statMode == SLABSTAT) ? 1 : 1024);
|
|
+ long double cvSize;
|
|
+ cvSize = (long double)size / dataUnit * ((statMode == SLABSTAT) ? 1 : 1024);
|
|
return ((unsigned long)cvSize);
|
|
}
|
|
|