mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
ProcFS: Identify virtual filesystems' device in df (#728)
This commit is contained in:
parent
9e608885d1
commit
9e03f3ce20
Notes:
sideshowbarker
2024-07-19 11:26:43 +09:00
Author: https://github.com/alexfoo 🔰 Commit: https://github.com/SerenityOS/serenity/commit/9e03f3ce207 Pull-request: https://github.com/SerenityOS/serenity/pull/728
1 changed files with 1 additions and 1 deletions
|
@ -570,7 +570,7 @@ Optional<KBuffer> procfs$df(InodeIdentifier)
|
|||
if (fs.is_disk_backed())
|
||||
fs_object.add("device", static_cast<const DiskBackedFS&>(fs).device().absolute_path());
|
||||
else
|
||||
fs_object.add("device", nullptr);
|
||||
fs_object.add("device", fs.class_name());
|
||||
});
|
||||
array.finish();
|
||||
return builder.build();
|
||||
|
|
Loading…
Reference in a new issue