aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_nif.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-02-18 16:21:30 +0100
committerBjörn-Egil Dahlberg <[email protected]>2016-04-19 13:32:27 +0200
commit11e8e1e38bba355c2996d766b7d2893e441c1211 (patch)
tree015d55c19876a7eb14b8fdc08d6c7d55dd2388bf /erts/emulator/beam/erl_nif.c
parent58c0f8de7a27a659fe2b534a86752f67da1af998 (diff)
downloadotp-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.c2
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)