From aaa3cd771de8694726b27731eb43b03650f46a69 Mon Sep 17 00:00:00 2001 From: Lukas Larsson Date: Tue, 6 Dec 2011 11:36:30 +0100 Subject: Return correct format for info about sys_alloc OTP-7775 --- erts/emulator/beam/erl_alloc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'erts') 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, -- cgit v1.2.3