diff options
Diffstat (limited to 'monitor/udisks2/gvfsudisks2volume.c')
-rw-r--r-- | monitor/udisks2/gvfsudisks2volume.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor/udisks2/gvfsudisks2volume.c b/monitor/udisks2/gvfsudisks2volume.c index 37004e14..dd683293 100644 --- a/monitor/udisks2/gvfsudisks2volume.c +++ b/monitor/udisks2/gvfsudisks2volume.c @@ -226,7 +226,7 @@ update_volume (GVfsUDisks2Volume *volume) else block = volume->block; - volume->dev = makedev (udisks_block_get_major (block), udisks_block_get_minor (block)); + volume->dev = udisks_block_get_device_number (block); volume->device_file = udisks_block_dup_device (block); if (strlen (udisks_block_get_id_label (block)) > 0) |