diff options
author | Lukas Larsson <[email protected]> | 2016-05-25 15:03:35 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2016-05-25 15:19:30 +0200 |
commit | d9e0f376b36baa5453717606f373daa5b7a1b0aa (patch) | |
tree | bf109dcd17ae35807533df3133623d50395f21f6 /lib/runtime_tools/test/dbg_SUITE_data | |
parent | 21376b80ebfc783f5301f36db0a967c5640446cf (diff) | |
download | otp-d9e0f376b36baa5453717606f373daa5b7a1b0aa.tar.gz otp-d9e0f376b36baa5453717606f373daa5b7a1b0aa.tar.bz2 otp-d9e0f376b36baa5453717606f373daa5b7a1b0aa.zip |
runtime_tools: Fix erl_tracer testcases
Diffstat (limited to 'lib/runtime_tools/test/dbg_SUITE_data')
-rw-r--r-- | lib/runtime_tools/test/dbg_SUITE_data/dbg_SUITE.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/runtime_tools/test/dbg_SUITE_data/dbg_SUITE.c b/lib/runtime_tools/test/dbg_SUITE_data/dbg_SUITE.c index 45f14938c6..ecdee7e3a2 100644 --- a/lib/runtime_tools/test/dbg_SUITE_data/dbg_SUITE.c +++ b/lib/runtime_tools/test/dbg_SUITE_data/dbg_SUITE.c @@ -36,7 +36,7 @@ static ERL_NIF_TERM trace(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]); static ErlNifFunc nif_funcs[] = { {"enabled", 3, enabled}, - {"trace", 6, trace} + {"trace", 5, trace} }; ERL_NIF_INIT(dbg_SUITE, nif_funcs, load, NULL, upgrade, unload) @@ -93,7 +93,7 @@ static ERL_NIF_TERM trace(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]) int state_arity; ErlNifPid self, to; ERL_NIF_TERM *tuple, msg; - ASSERT(argc == 6); + ASSERT(argc == 5); tuple = enif_alloc(sizeof(ERL_NIF_TERM)*(argc+1)); memcpy(tuple+1,argv,sizeof(ERL_NIF_TERM)*argc); |