diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-02-18 16:21:30 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-04-19 13:32:27 +0200 |
commit | 11e8e1e38bba355c2996d766b7d2893e441c1211 (patch) | |
tree | 015d55c19876a7eb14b8fdc08d6c7d55dd2388bf /erts/emulator/beam/erl_nif.c | |
parent | 58c0f8de7a27a659fe2b534a86752f67da1af998 (diff) | |
download | otp-11e8e1e38bba355c2996d766b7d2893e441c1211.tar.gz otp-11e8e1e38bba355c2996d766b7d2893e441c1211.tar.bz2 otp-11e8e1e38bba355c2996d766b7d2893e441c1211.zip |
runtime_tools: Initial lttng tracing framework
Diffstat (limited to 'erts/emulator/beam/erl_nif.c')
-rw-r--r-- | erts/emulator/beam/erl_nif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_nif.c b/erts/emulator/beam/erl_nif.c index 73c0eb8eba..9a0eea42f0 100644 --- a/erts/emulator/beam/erl_nif.c +++ b/erts/emulator/beam/erl_nif.c @@ -3158,7 +3158,7 @@ Eterm erts_nif_call_function(Process *p, Process *tracee, /* Verify that function is part of this module */ int i; for (i = 0; i < mod->entry->num_of_funcs; i++) - if (fun == mod->entry->funcs+i) + if (fun == &(mod->entry->funcs[i])) break; ASSERT(i < mod->entry->num_of_funcs); if (p) |