30d135841f
- Drop patch procps-ng-4.0.0-aix_sortformats.dif as replaced by upstream patch 0002-ps-restore-aix-behavior-while-keeping-an-original-fi.patch - Add upstream patches * 0001-top-update-one-function-prologue-after-rcfile-change.patch * 0003-ps-restore-thread-display-when-using-a-pidlist-optio.patch - Drop not needed patch procps-ng-3.3.9-watch.patch as the API has changed here - Add patch procps-ng-4.0.0-floats.dif to avoid float errors on 32bit architectures - Add patch procps-ng-4.0.0-aix_sortformats.dif to restore AIX sort format support as well - Update to procps-ng-4.0.0 + Warning: new shared library interface with libproc-2 * Rename pwait to pidwait * free: Add committed line option merge #25 * free: Fix -h --si combined options issue #133, #223 * free: Fix first column justification issue #229, #204, #206, Debian #1001689 * free: Better spacing for Chinese language issue #213 * library: renamed to libproc-2 and reset to 0:0:0 * library: add support for accessing smaps_rollup issue #112, #201 * library: add support for accessing autogroups * library: add support for LIBPROC_HIDE_KERNEL env var merge #147 * library: add support for cpu utilization to pids i/f * pkill: Check for lt- variants of program name issue #192 * pgrep: Add newline after regex error message merge #91 * pgrep: Fix selection where uid/gid > 2^31 merge !146 OBS-URL: https://build.opensuse.org/request/show/966137 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=126
18 lines
490 B
Plaintext
18 lines
490 B
Plaintext
---
|
|
vmstat.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
--- vmstat.c
|
|
+++ vmstat.c 2022-03-29 10:36:49.654287539 +0000
|
|
@@ -337,8 +337,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);
|
|
}
|
|
|