summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/FileSystemModel.cpp
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-05-31 15:05:29 +0100
committerLinus Groh <mail@linusgroh.de>2021-05-31 17:43:54 +0100
commita4bd29828c18f10de2620cf74575f35814637611 (patch)
treecda1bcefd664f21a52b367f6a141f6d75390dbab /Userland/Libraries/LibGUI/FileSystemModel.cpp
parent634db1880956319bc2e4d74e68c75f4c8772ca0d (diff)
downloadserenity-a4bd29828c18f10de2620cf74575f35814637611.zip
LibGUI: Replace fprintf(stderr)/printf() with warnln()/dbgln()
Diffstat (limited to 'Userland/Libraries/LibGUI/FileSystemModel.cpp')
-rw-r--r--Userland/Libraries/LibGUI/FileSystemModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/FileSystemModel.cpp b/Userland/Libraries/LibGUI/FileSystemModel.cpp
index dd83c7204b..39580681ce 100644
--- a/Userland/Libraries/LibGUI/FileSystemModel.cpp
+++ b/Userland/Libraries/LibGUI/FileSystemModel.cpp
@@ -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;
}