diff options
author | dakkar <dakkar@thenautilus.net> | 2017-09-05 20:54:12 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2017-09-05 20:54:12 +0100 |
commit | 9d62085e6503591d2575720fd39c3596859e5b51 (patch) | |
tree | efc2dadea976a4866e70ce52266d16317e3e24ed | |
parent | remove terminating \0 from C strings (diff) | |
download | hal-automounter-9d62085e6503591d2575720fd39c3596859e5b51.tar.gz hal-automounter-9d62085e6503591d2575720fd39c3596859e5b51.tar.bz2 hal-automounter-9d62085e6503591d2575720fd39c3596859e5b51.zip |
fix property spelling
-rwxr-xr-x | hal-automounter.pl | 2 |
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'; |