Pass UDisksObject so $(udisks2.device) is properly expanded
authorDavid Zeuthen <davidz@redhat.com>
Mon, 14 Nov 2011 17:03:46 +0000 (12:03 -0500)
committerDavid Zeuthen <davidz@redhat.com>
Mon, 14 Nov 2011 17:03:46 +0000 (12:03 -0500)
Signed-off-by: David Zeuthen <davidz@redhat.com>
src/udiskslinuxblock.c

index 69c114d..d233c6a 100644 (file)
@@ -1740,7 +1740,7 @@ handle_format (UDisksBlock           *block,
     }
 
   if (!udisks_daemon_util_check_authorization_sync (daemon,
-                                                    NULL,
+                                                    object,
                                                     action_id,
                                                     options,
                                                     N_("Authentication is required to format $(udisks2.device)"),