summaryrefslogtreecommitdiff
path: root/debian/patches/0003-backend-Fix-a-compile-warning-that-popped-up-on-Debi.patch
blob: 3c5a760a298d0bd32d7cfbdd8cec0915a607914c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From bcfbba4c2a422f7d4502b4712921fa0d70ad52e3 Mon Sep 17 00:00:00 2001
From: Solomon Peachy <pizza@shaftnet.org>
Date: Fri, 28 Sep 2018 11:03:53 -0400
Subject: backend:  Fix a compile warning that popped up on Debian 9

---
 src/cups/backend_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cups/backend_common.c b/src/cups/backend_common.c
index 09ea0785..09406f8b 100644
--- a/src/cups/backend_common.c
+++ b/src/cups/backend_common.c
@@ -1354,7 +1354,7 @@ void dump_markers(struct marker *markers, int marker_count, int full)
 
 	ATTR("marker-colors=");
 	for (i = 0 ; i < marker_count; i++) {
-		DEBUG2(markers[i].color);
+		DEBUG2("%s", markers[i].color);
 		if ((i+1) < marker_count)
 			DEBUG2(",");
 	}