diff options
author | Patrik Nyblom <[email protected]> | 2011-03-17 15:49:45 +0100 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2011-03-17 15:49:45 +0100 |
commit | 345db0a68ac316e48155ae363ddb5ec814fbc2e4 (patch) | |
tree | fa06d6ca0bf2b436485798086368fc01a6ce6e27 /erts/emulator/beam/erl_process.c | |
parent | 8047afd5a48434e2fb5819d52714a17ddf2b78a2 (diff) | |
download | otp-345db0a68ac316e48155ae363ddb5ec814fbc2e4.tar.gz otp-345db0a68ac316e48155ae363ddb5ec814fbc2e4.tar.bz2 otp-345db0a68ac316e48155ae363ddb5ec814fbc2e4.zip |
Make erts_printf %T not recurse on C stack
Diffstat (limited to 'erts/emulator/beam/erl_process.c')
-rw-r--r-- | erts/emulator/beam/erl_process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c index 4d6e982325..a510c467ed 100644 --- a/erts/emulator/beam/erl_process.c +++ b/erts/emulator/beam/erl_process.c @@ -7703,7 +7703,7 @@ erts_program_counter_info(int to, void *to_arg, Process *p) * only cause problems. */ for (i = 0; i < p->arity; i++) - erts_print(to, to_arg, " %T\n", p->arg_reg[i]); + erts_print(to, to_arg, " %.*T\n", INT_MAX, p->arg_reg[i]); } } } |