mirror of
https://github.com/ceph/ceph
synced 2025-01-20 01:51:34 +00:00
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:
parent
4eb23af17c
commit
f6a4897ecb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user