summaryrefslogtreecommitdiff
path: root/monitor/udisks2/gvfsudisks2volume.c
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2012-05-24 10:52:43 +1200
committerMatthias Clasen <mclasen@redhat.com>2012-06-30 00:44:22 -0400
commit30b70bdd4113a3bb22e8ee98ecdfde5c5e5c165e (patch)
treee7c6b88723ac848310b69995e8b1e7e81a162293 /monitor/udisks2/gvfsudisks2volume.c
parent42afb1cff97489e67f57ebcb39ecd7ee30c4b61d (diff)
downloadgvfs-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/gvfsudisks2volume.c')
-rw-r--r--monitor/udisks2/gvfsudisks2volume.c2
1 files changed, 1 insertions, 1 deletions
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);