global/signal_handler.cc: report assert_file as correct name

Boilerplate error led to two 'assert_line' items in the dump

Signed-off-by: Dan Mick <dan.mick@redhat.com>
This commit is contained in:
Dan Mick 2018-08-24 20:52:50 -07:00
parent 4eb23af17c
commit f6a4897ecb

View File

@ -244,7 +244,7 @@ static void handle_fatal_signal(int signum)
jf.dump_string("assert_file", g_assert_file);
}
if (g_assert_line) {
jf.dump_unsigned("assert_file", g_assert_line);
jf.dump_unsigned("assert_line", g_assert_line);
}
if (g_assert_thread_name[0]) {
jf.dump_string("assert_thread_name", g_assert_thread_name);