aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2011-12-06 11:36:30 +0100
committerLukas Larsson <[email protected]>2011-12-08 15:55:02 +0100
commitaaa3cd771de8694726b27731eb43b03650f46a69 (patch)
tree3df7501d3c0fe3d4a63a0a4d4aef743536817e16
parent80382a7d75c25351573a3b4b7e3efbf07b874eab (diff)
downloadotp-aaa3cd771de8694726b27731eb43b03650f46a69.tar.gz
otp-aaa3cd771de8694726b27731eb43b03650f46a69.tar.bz2
otp-aaa3cd771de8694726b27731eb43b03650f46a69.zip
Return correct format for info about sys_alloc
OTP-7775
-rw-r--r--erts/emulator/beam/erl_alloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_alloc.c b/erts/emulator/beam/erl_alloc.c
index 1379f8645a..1e75afe6f6 100644
--- a/erts/emulator/beam/erl_alloc.c
+++ b/erts/emulator/beam/erl_alloc.c
@@ -2877,8 +2877,9 @@ reply_alloc_info(void *vair)
ainfo);
ainfo = erts_bld_tuple(hpp, szp, 2,
erts_bld_atom(hpp, szp,
- "otps"),
+ "options"),
ainfo);
+ ainfo = erts_bld_cons(hpp, szp,ainfo,NIL);
}
ainfo = erts_bld_tuple(hpp, szp, 3,
alloc_atom,