diff options
author | Rico Tzschichholz <ricotz@t-online.de> | 2013-03-06 22:26:21 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2013-03-06 22:26:21 +0100 |
commit | 4054d531c32d0d28614435fae1d9041b629197bc (patch) | |
tree | 996adbc147a38db284448dd9f3ace04421ebe7ee /modules | |
parent | ca2368dba958d6fecf2fce417307bb9cbbe6eb6b (diff) | |
download | gtk+-4054d531c32d0d28614435fae1d9041b629197bc.tar.gz |
printing: Fix build with -Werror=format-security
Diffstat (limited to 'modules')
-rw-r--r-- | modules/printbackends/cups/gtkprintbackendcups.c | 2 |
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 { |