diff options
author | Loïc Hoguin <[email protected]> | 2019-06-03 17:00:44 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-06-03 17:03:01 +0200 |
commit | 302840129567426fd882484606bdc27ed3087eca (patch) | |
tree | dc01a380fc75d754777789f07e1db603ac246811 /erts/emulator/beam | |
parent | fbee646c4ff63327512f25eb07be0ede66e55599 (diff) | |
download | otp-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.c | 2 |
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); |