diff options
author | Lukas Larsson <[email protected]> | 2019-01-24 11:04:03 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2019-02-01 10:25:24 +0100 |
commit | f4e19bd421ef28e34abb869439993b022fc0806e (patch) | |
tree | 05e0366269bd160f655ef0ec1a0d928bcc9ba7a5 /erts/emulator/beam/erl_bif_info.c | |
parent | 74ed1c61906eec6e4bf68ae89d9b072a6bf26fb8 (diff) | |
download | otp-f4e19bd421ef28e34abb869439993b022fc0806e.tar.gz otp-f4e19bd421ef28e34abb869439993b022fc0806e.tar.bz2 otp-f4e19bd421ef28e34abb869439993b022fc0806e.zip |
erts: Fix erlang:system_info(kernel_poll) to return correct value
Diffstat (limited to 'erts/emulator/beam/erl_bif_info.c')
-rw-r--r-- | erts/emulator/beam/erl_bif_info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_bif_info.c b/erts/emulator/beam/erl_bif_info.c index 6137edef1b..f6a98c85fd 100644 --- a/erts/emulator/beam/erl_bif_info.c +++ b/erts/emulator/beam/erl_bif_info.c @@ -2967,7 +2967,7 @@ BIF_RETTYPE system_info_1(BIF_ALIST_1) } else if (ERTS_IS_ATOM_STR("context_reductions", BIF_ARG_1)) { BIF_RET(make_small(CONTEXT_REDS)); } else if (ERTS_IS_ATOM_STR("kernel_poll", BIF_ARG_1)) { -#ifdef ERTS_ENABLE_KERNEL_POLL +#if ERTS_ENABLE_KERNEL_POLL BIF_RET(am_true); #else BIF_RET(am_false); |