summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore/ProcessStatisticsReader.cpp
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2021-05-12 14:01:34 +0430
committerLinus Groh <mail@linusgroh.de>2021-05-12 11:00:45 +0100
commit1ae8775a1bb0af02932c54d1ab71d3201825519c (patch)
treea5f8b3c7b3528a625106226cf11500aa5d437aea /Userland/Libraries/LibCore/ProcessStatisticsReader.cpp
parenta91a49337c5992d64b30f493eea1eb492792b667 (diff)
downloadserenity-1ae8775a1bb0af02932c54d1ab71d3201825519c.zip
LibCore+Everywhere: Move SeekMode out of IODevice
Diffstat (limited to 'Userland/Libraries/LibCore/ProcessStatisticsReader.cpp')
-rw-r--r--Userland/Libraries/LibCore/ProcessStatisticsReader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCore/ProcessStatisticsReader.cpp b/Userland/Libraries/LibCore/ProcessStatisticsReader.cpp
index 9c7b679996..585088e92e 100644
--- a/Userland/Libraries/LibCore/ProcessStatisticsReader.cpp
+++ b/Userland/Libraries/LibCore/ProcessStatisticsReader.cpp
@@ -20,7 +20,7 @@ HashMap<uid_t, String> ProcessStatisticsReader::s_usernames;
Optional<HashMap<pid_t, Core::ProcessStatistics>> ProcessStatisticsReader::get_all(RefPtr<Core::File>& proc_all_file)
{
if (proc_all_file) {
- if (!proc_all_file->seek(0, Core::File::SeekMode::SetPosition)) {
+ if (!proc_all_file->seek(0, Core::SeekMode::SetPosition)) {
fprintf(stderr, "ProcessStatisticsReader: Failed to refresh /proc/all: %s\n", proc_all_file->error_string());
return {};
}