summaryrefslogtreecommitdiff
path: root/src/udiskslinuxencrypted.c
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2011-11-02 14:02:57 -0400
committerDavid Zeuthen <davidz@redhat.com>2011-11-02 14:02:57 -0400
commit3196c64a560260a1f9d1afd6bfba6437cc11b368 (patch)
tree47a5b19a159d4453f8607e93faf0da4b54102b25 /src/udiskslinuxencrypted.c
parentf4841fd9d73d9909d77473c93cd0ea5b910a3596 (diff)
downloadudisks-3196c64a560260a1f9d1afd6bfba6437cc11b368.tar.gz
Support option 'take-ownership' in the Block.Format() method
Signed-off-by: David Zeuthen <davidz@redhat.com>
Diffstat (limited to 'src/udiskslinuxencrypted.c')
-rw-r--r--src/udiskslinuxencrypted.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udiskslinuxencrypted.c b/src/udiskslinuxencrypted.c
index 8bece46..fef342a 100644
--- a/src/udiskslinuxencrypted.c
+++ b/src/udiskslinuxencrypted.c
@@ -268,7 +268,7 @@ handle_unlock (UDisksEncrypted *encrypted,
/* we need the uid of the caller for the unlocked-luks file */
error = NULL;
- if (!udisks_daemon_util_get_caller_uid_sync (daemon, invocation, NULL /* GCancellable */, &caller_uid, &error))
+ if (!udisks_daemon_util_get_caller_uid_sync (daemon, invocation, NULL /* GCancellable */, &caller_uid, NULL, &error))
{
g_dbus_method_invocation_return_gerror (invocation, error);
g_error_free (error);
@@ -488,7 +488,7 @@ handle_lock (UDisksEncrypted *encrypted,
/* we need the uid of the caller to check authorization */
error = NULL;
- if (!udisks_daemon_util_get_caller_uid_sync (daemon, invocation, NULL /* GCancellable */, &caller_uid, &error))
+ if (!udisks_daemon_util_get_caller_uid_sync (daemon, invocation, NULL /* GCancellable */, &caller_uid, NULL, &error))
{
g_dbus_method_invocation_return_gerror (invocation, error);
g_error_free (error);