aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-06-03 17:00:44 +0200
committerLoïc Hoguin <[email protected]>2019-06-03 17:03:01 +0200
commit302840129567426fd882484606bdc27ed3087eca (patch)
treedc01a380fc75d754777789f07e1db603ac246811 /erts/emulator/beam
parentfbee646c4ff63327512f25eb07be0ede66e55599 (diff)
downloadotp-302840129567426fd882484606bdc27ed3087eca.tar.gz
otp-302840129567426fd882484606bdc27ed3087eca.tar.bz2
otp-302840129567426fd882484606bdc27ed3087eca.zip
Return real pend value in erlang:dist_get_stat/1
Only the dist_util code is using this function and it already is compatible with a non-boolean value.
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r--erts/emulator/beam/dist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/dist.c b/erts/emulator/beam/dist.c
index ff19ef018e..922bd85419 100644
--- a/erts/emulator/beam/dist.c
+++ b/erts/emulator/beam/dist.c
@@ -3368,7 +3368,7 @@ dist_get_stat_1(BIF_ALIST_1)
am_ok,
erts_bld_sint64(hpp, szp, read),
erts_bld_sint64(hpp, szp, write),
- pend ? am_true : am_false);
+ erts_bld_sint64(hpp, szp, pend));
if (hpp)
break;
hp = HAlloc(BIF_P, sz);