diff --git a/firefly/kernel/trace/sanitizer/ubsan.cpp b/firefly/kernel/trace/sanitizer/ubsan.cpp index ed756b5..76826dc 100644 --- a/firefly/kernel/trace/sanitizer/ubsan.cpp +++ b/firefly/kernel/trace/sanitizer/ubsan.cpp @@ -95,7 +95,7 @@ static void tu_print_location(const char *message, struct tu_source_location loc using namespace firefly; logLine << "tinyubsan: " << message << " at file " << loc.file - << ", line " << fmt::dec << loc.file + << ", line " << fmt::dec << loc.line << ", column " << loc.column << '\n' << fmt::endl; } @@ -167,4 +167,4 @@ void __ubsan_handle_builtin_unreachable(struct tu_unreachable_data *data) { void __ubsan_handle_invalid_builtin(struct tu_invalid_builtin_data *data) { tu_print_location("invalid builtin", data->location); } -} \ No newline at end of file +}