diff --git a/service/lib/agama/dbus/storage/interfaces/device/device.rb b/service/lib/agama/dbus/storage/interfaces/device/device.rb index f10b8a1829..6aef6084b7 100644 --- a/service/lib/agama/dbus/storage/interfaces/device/device.rb +++ b/service/lib/agama/dbus/storage/interfaces/device/device.rb @@ -51,11 +51,11 @@ def device_sid storage_device.sid end - # Name of the device. + # Name to represent the device. # # @return [String] e.g., "/dev/sda". def device_name - storage_device.name + storage_device.display_name || "" end # Description of the device.