summaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
authorCraig Small <csmall@dropbear.xyz>2022-12-06 22:23:08 +1100
committerCraig Small <csmall@dropbear.xyz>2022-12-06 22:23:08 +1100
commit82d8e3faf320e6aed41fe3cf18d99d79ce48bb70 (patch)
tree9111ab39c08b65347e3ab7c53e9af208faf455d0 /library
parent3c7a0c7cea7daacbb8c87c6d124d1be9fcfa2be6 (diff)
downloadprocps-ng-82d8e3faf320e6aed41fe3cf18d99d79ce48bb70.tar.gz
tests: Fix type for check_fatal_proc_unmounted
While ps used the correct type for PIDS_VM_RSS the test did not. For some reason this only appeared to be an issue for s390x References: https://bugs.debian.org/1025495 Signed-off-by: Craig Small <csmall@dropbear.xyz>
Diffstat (limited to 'library')
-rw-r--r--library/tests/test_pids.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/tests/test_pids.c b/library/tests/test_pids.c
index 0a9832b..eda0b73 100644
--- a/library/tests/test_pids.c
+++ b/library/tests/test_pids.c
@@ -57,7 +57,7 @@ int check_fatal_proc_unmounted(void *data)
return ( (procps_pids_new(&info, items2, 2) == 0) &&
( (stack = fatal_proc_unmounted(info, 1)) != NULL) &&
( PIDS_VAL(0, s_int, stack, info) > 0) &&
- ( PIDS_VAL(1, u_int, stack, info) > 0));
+ ( PIDS_VAL(1, ul_int, stack, info) > 0));
}
TestFunction test_funcs[] = {