summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@t-online.de>2013-03-06 22:26:21 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2013-03-06 22:26:21 +0100
commit4054d531c32d0d28614435fae1d9041b629197bc (patch)
tree996adbc147a38db284448dd9f3ace04421ebe7ee /modules
parentca2368dba958d6fecf2fce417307bb9cbbe6eb6b (diff)
downloadgtk+-4054d531c32d0d28614435fae1d9041b629197bc.tar.gz
printing: Fix build with -Werror=format-security
Diffstat (limited to 'modules')
-rw-r--r--modules/printbackends/cups/gtkprintbackendcups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/printbackends/cups/gtkprintbackendcups.c b/modules/printbackends/cups/gtkprintbackendcups.c
index e80821c9a3..4d095de79a 100644
--- a/modules/printbackends/cups/gtkprintbackendcups.c
+++ b/modules/printbackends/cups/gtkprintbackendcups.c
@@ -637,7 +637,7 @@ gtk_print_backend_cups_print_stream (GtkPrintBackend *print_backend,
cups_printer->hostname,
cups_printer->device_uri,
GTK_PRINT_BACKEND_CUPS (print_backend)->username);
- g_snprintf (printer_absolute_uri, HTTP_MAX_URI, cups_printer->printer_uri);
+ g_snprintf (printer_absolute_uri, HTTP_MAX_URI, "%s", cups_printer->printer_uri);
}
else
{