aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/global.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-02-09 22:04:57 +0100
committerLukas Larsson <[email protected]>2016-04-15 15:07:09 +0200
commitd15ddcb9d407462133ec5d84c45353bd5a928167 (patch)
treebcece6e6839b363976ddc9cb00b64641ed8eaa7c /erts/emulator/beam/global.h
parent6cb6b59cd4cd5bd4383053e12ae8ab192711c827 (diff)
downloadotp-d15ddcb9d407462133ec5d84c45353bd5a928167.tar.gz
otp-d15ddcb9d407462133ec5d84c45353bd5a928167.tar.bz2
otp-d15ddcb9d407462133ec5d84c45353bd5a928167.zip
erts: Fix FPE bug in erl_nif
erts_block/unblock_fpe should only be called at entry to/exit from native user code.
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r--erts/emulator/beam/global.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h
index 5c2e8bbd09..a7bc990deb 100644
--- a/erts/emulator/beam/global.h
+++ b/erts/emulator/beam/global.h
@@ -59,7 +59,7 @@ struct enif_environment_t /* ErlNifEnv */
Process *tracee;
};
extern void erts_pre_nif(struct enif_environment_t*, Process*,
- struct erl_module_nif*);
+ struct erl_module_nif*, Process* tracee);
extern void erts_post_nif(struct enif_environment_t* env);
extern Eterm erts_nif_taints(Process* p);
extern void erts_print_nif_taints(int to, void* to_arg);