mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibGUI: Replace fprintf(stderr)/printf() with warnln()/dbgln()
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 17:06:49 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/a4bd29828c1 Pull-request: https://github.com/SerenityOS/serenity/pull/7630
@@ -93,7 +93,7 @@ void FileSystemModel::Node::traverse_if_needed()
|
||||
Core::DirIterator di(full_path, m_model.should_show_dotfiles() ? Core::DirIterator::SkipParentAndBaseDir : Core::DirIterator::SkipDots);
|
||||
if (di.has_error()) {
|
||||
m_error = di.error();
|
||||
fprintf(stderr, "DirIterator: %s\n", di.error_string());
|
||||
warnln("DirIterator: {}", di.error_string());
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user