diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2012-05-24 10:52:43 +1200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-06-30 00:44:22 -0400 |
commit | 30b70bdd4113a3bb22e8ee98ecdfde5c5e5c165e (patch) | |
tree | e7c6b88723ac848310b69995e8b1e7e81a162293 /monitor/udisks2 | |
parent | 42afb1cff97489e67f57ebcb39ecd7ee30c4b61d (diff) | |
download | gvfs-30b70bdd4113a3bb22e8ee98ecdfde5c5e5c165e.tar.gz |
udisks2: Fix error when compiling with -Werror=format-security
https://bugzilla.gnome.org/show_bug.cgi?id=676693
Diffstat (limited to 'monitor/udisks2')
-rw-r--r-- | monitor/udisks2/gvfsudisks2mount.c | 2 | ||||
-rw-r--r-- | monitor/udisks2/gvfsudisks2volume.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/monitor/udisks2/gvfsudisks2mount.c b/monitor/udisks2/gvfsudisks2mount.c index cf3b29a7..a2f13427 100644 --- a/monitor/udisks2/gvfsudisks2mount.c +++ b/monitor/udisks2/gvfsudisks2mount.c @@ -867,7 +867,7 @@ umount_command_cb (GObject *source_object, g_simple_async_result_set_error (data->simple, G_IO_ERROR, G_IO_ERROR_FAILED, - standard_error); + "%s", standard_error); g_simple_async_result_complete (data->simple); data->completed = TRUE; unmount_data_unref (data); diff --git a/monitor/udisks2/gvfsudisks2volume.c b/monitor/udisks2/gvfsudisks2volume.c index 8b3ba988..a8bf3c02 100644 --- a/monitor/udisks2/gvfsudisks2volume.c +++ b/monitor/udisks2/gvfsudisks2volume.c @@ -875,7 +875,7 @@ mount_command_cb (GObject *source_object, g_simple_async_result_set_error (data->simple, G_IO_ERROR, G_IO_ERROR_FAILED, - standard_error); + "%s", standard_error); g_simple_async_result_complete (data->simple); mount_data_free (data); |