Skip to content

Commit 3d5f9af

Browse files
authored
Use fputc over fprintf. NFC (#24546)
Feedback from #24543
1 parent 74b3512 commit 3d5f9af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/lib/libcxx/src/verbose_abort.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ _LIBCPP_WEAK void __libcpp_verbose_abort(char const* format, ...) _LIBCPP_VERBOS
3535
// passed to __libcpp_verbose_abort. The _LIBCPP_VERBOSE_ABORT macro seems to never use
3636
// newlines, but _LIBCPP_ASSERTION_HANDLER does include a newline.
3737
if (format[strlen(format) - 1] != '\n') {
38-
std::fprintf(stderr, "\n");
38+
std::fputc('\n', stderr);
3939
}
4040
va_end(list);
4141
}

0 commit comments

Comments
 (0)