diff options
author | Sverker Eriksson <[email protected]> | 2016-11-22 14:57:39 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-11-22 14:57:39 +0100 |
commit | 0e2bde208e45bb24ae3d9fcd3db94b93882ecaec (patch) | |
tree | a6334828227fda954756453474429335aca89cd9 /erts/emulator/beam/erl_nif.c | |
parent | 9563cd5b296fe589c8abe357710fbb79bc766d09 (diff) | |
parent | b62020124b3294be021d0d62073ba34cda1ae742 (diff) | |
download | otp-0e2bde208e45bb24ae3d9fcd3db94b93882ecaec.tar.gz otp-0e2bde208e45bb24ae3d9fcd3db94b93882ecaec.tar.bz2 otp-0e2bde208e45bb24ae3d9fcd3db94b93882ecaec.zip |
Merge branch 'maint'
Diffstat (limited to 'erts/emulator/beam/erl_nif.c')
-rw-r--r-- | erts/emulator/beam/erl_nif.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/beam/erl_nif.c b/erts/emulator/beam/erl_nif.c index 9872a3ab81..19adff610b 100644 --- a/erts/emulator/beam/erl_nif.c +++ b/erts/emulator/beam/erl_nif.c @@ -3073,16 +3073,16 @@ Eterm erts_nif_taints(Process* p) return list; } -void erts_print_nif_taints(int to, void* to_arg) +void erts_print_nif_taints(fmtfn_t to, void* to_arg) { struct tainted_module_t* t; const char* delim = ""; for (t=first_tainted_module ; t!=NULL; t=t->next) { const Atom* atom = atom_tab(atom_val(t->module_atom)); - erts_print(to,to_arg,"%s%.*s", delim, atom->len, atom->name); + erts_cbprintf(to,to_arg,"%s%.*s", delim, atom->len, atom->name); delim = ","; } - erts_print(to,to_arg,"\n"); + erts_cbprintf(to,to_arg,"\n"); } |