From 9e03f3ce207a1821519b3872b821d5ef048b97f6 Mon Sep 17 00:00:00 2001 From: Alexander Date: Sun, 3 Nov 2019 20:58:10 +0100 Subject: [PATCH] ProcFS: Identify virtual filesystems' device in df (#728) --- Kernel/FileSystem/ProcFS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/FileSystem/ProcFS.cpp b/Kernel/FileSystem/ProcFS.cpp index b76bff451f9..0d719fe2608 100644 --- a/Kernel/FileSystem/ProcFS.cpp +++ b/Kernel/FileSystem/ProcFS.cpp @@ -570,7 +570,7 @@ Optional procfs$df(InodeIdentifier) if (fs.is_disk_backed()) fs_object.add("device", static_cast(fs).device().absolute_path()); else - fs_object.add("device", nullptr); + fs_object.add("device", fs.class_name()); }); array.finish(); return builder.build();