mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:57:45 +00:00
Userland: Fix displaying mount source
The key is now called "source" instead of "device".
This commit is contained in:
parent
2d412c5ad1
commit
67cbc015d5
1 changed files with 2 additions and 2 deletions
|
@ -151,11 +151,11 @@ bool print_mounts()
|
|||
auto fs_object = value.as_object();
|
||||
auto class_name = fs_object.get("class_name").to_string();
|
||||
auto mount_point = fs_object.get("mount_point").to_string();
|
||||
auto device = fs_object.get("device").as_string_or(class_name);
|
||||
auto source = fs_object.get("source").as_string_or("none");
|
||||
auto readonly = fs_object.get("readonly").to_bool();
|
||||
auto mount_flags = fs_object.get("mount_flags").to_int();
|
||||
|
||||
printf("%s on %s type %s (", device.characters(), mount_point.characters(), class_name.characters());
|
||||
printf("%s on %s type %s (", source.characters(), mount_point.characters(), class_name.characters());
|
||||
|
||||
if (readonly)
|
||||
printf("ro");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue