summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivemount/drive-button.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivemount/drive-button.c b/drivemount/drive-button.c
index 3813c9a6..2d91c4de 100644
--- a/drivemount/drive-button.c
+++ b/drivemount/drive-button.c
@@ -615,7 +615,7 @@ open_drive (DriveButton *self, GtkWidget *item)
GTK_BUTTONS_OK,
_("Cannot execute Caja"));
if (error)
- gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), error->message, NULL);
+ gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s", error->message);
else
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "Could not find Caja");
g_signal_connect (dialog, "response",