From be241b0e60d5f4306cdaac194bf02625fa9ef878 Mon Sep 17 00:00:00 2001 From: Friedrich Beckmann Date: Tue, 29 Mar 2016 02:11:59 +0200 Subject: [PATCH] use fixed format string to avoid -Wformat-security warning The debian build fails due to the -Wformat-security check. This change replaces a variable format string with a fixed format string. --- src/ui/gui/missing-val-dialog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/gui/missing-val-dialog.c b/src/ui/gui/missing-val-dialog.c index af63af1fd3..45916dd932 100644 --- a/src/ui/gui/missing-val-dialog.c +++ b/src/ui/gui/missing-val-dialog.c @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2005, 2006, 2009, 2011, 2012, 2015 Free Software Foundation + Copyright (C) 2005, 2006, 2009, 2011, 2012, 2015, 2016 Free Software Foundation This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -181,7 +181,7 @@ err_dialog (const gchar *msg, GtkWindow *window) GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, - msg); + "%s",msg); gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); -- 2.30.2