aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2014-03-25 17:43:09 +0100
committerLukas Larsson <[email protected]>2014-03-26 15:19:00 +0100
commitd2a5dc042c02dce5bc518eb576ea496af50e6373 (patch)
tree11d57862ce966177ad612b122cd35a81f53d4419 /erts/emulator/sys
parentd28049c638f19de0f0f4c805d3efd004de417210 (diff)
downloadotp-d2a5dc042c02dce5bc518eb576ea496af50e6373.tar.gz
otp-d2a5dc042c02dce5bc518eb576ea496af50e6373.tar.bz2
otp-d2a5dc042c02dce5bc518eb576ea496af50e6373.zip
ose: Fix erts assert failed printouts
Diffstat (limited to 'erts/emulator/sys')
-rw-r--r--erts/emulator/sys/ose/sys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/sys/ose/sys.c b/erts/emulator/sys/ose/sys.c
index 414dfb2264..5b950a7dae 100644
--- a/erts/emulator/sys/ose/sys.c
+++ b/erts/emulator/sys/ose/sys.c
@@ -1741,10 +1741,10 @@ erl_assert_error(const char* expr, const char* func,
{
fflush(stdout);
fprintf(stderr, "%s:%d:%s() Assertion failed: %s\n",
- file, func, line, expr);
+ file, line, func, expr);
fflush(stderr);
ramlog_printf("%s:%d:%s() Assertion failed: %s\n",
- file, func, line, expr);
+ file, line, func, expr);
abort();
}