summaryrefslogtreecommitdiff
path: root/cups/ppd-mark.c
diff options
context:
space:
mode:
Diffstat (limited to 'cups/ppd-mark.c')
-rw-r--r--cups/ppd-mark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cups/ppd-mark.c b/cups/ppd-mark.c
index 7ec0df473..25797b376 100644
--- a/cups/ppd-mark.c
+++ b/cups/ppd-mark.c
@@ -307,7 +307,7 @@ cupsMarkOptions(
* Look it up in the PPD file...
*/
- sprintf(s, "%d", j);
+ snprintf(s, sizeof(s), "%d", j);
if ((attr = ppdFindAttr(ppd, "cupsIPPFinishings", s)) == NULL)
continue;