1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:38:11 +00:00

LibGUI: Replace fprintf(stderr)/printf() with warnln()/dbgln()

This commit is contained in:
Linus Groh 2021-05-31 15:05:29 +01:00
parent 634db18809
commit a4bd29828c
2 changed files with 4 additions and 4 deletions

View file

@ -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;
}