summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhal-automounter.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/hal-automounter.pl b/hal-automounter.pl
index f23bdb9..cd29780 100755
--- a/hal-automounter.pl
+++ b/hal-automounter.pl
@@ -117,7 +117,7 @@ sub device_added {
my $block = $interfaces_and_properties->{'org.freedesktop.UDisks2.Block'};
- my $uuid = str_from_bytearray($block->{IdUuid});
+ my $uuid = str_from_bytearray($block->{IdUUID});
my $dev_path= str_from_bytearray($block->{Device})
|| ($uuid?'/dev/disk/by-uuid/'.$uuid:undef)
|| 'unknown';