diff options
author | Ahmed Omar <[email protected]> | 2012-10-09 16:46:41 +0200 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2012-10-11 09:19:19 +0200 |
commit | 80808af66a63b8a009cabfc19b47f1bf9da6baa5 (patch) | |
tree | eafd5692800438def4d9ce870d8b0ccc217f7b15 /erts/emulator | |
parent | 0862c07826b3fd5496a9b3bab2bb0b54a8aa7655 (diff) | |
download | otp-80808af66a63b8a009cabfc19b47f1bf9da6baa5.tar.gz otp-80808af66a63b8a009cabfc19b47f1bf9da6baa5.tar.bz2 otp-80808af66a63b8a009cabfc19b47f1bf9da6baa5.zip |
Fix format of mnesia overload message
Using ~p in mnesia overload message could lead to wrong messages.
mnesia_tm overload message contains a list of two numbers (queue length)
example:
instead of:
Mnesia is overloaded: {mnesia_tm,message_queue_len,[100,105]}
it prints :
Mnesia is overloaded: {mnesia_tm,message_queue_len,"di"}
Replacing ~p with ~w fixes the problem as it doesn't try
to detect lists of printable characters
Diffstat (limited to 'erts/emulator')
0 files changed, 0 insertions, 0 deletions