From a67b65198d4cadb96f05576791e7d52fbd9714a1 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Fri, 16 Nov 2012 15:29:50 +0000 Subject: [PATCH] dtscreen: Resolve a -Wformat-security warning. --- cde/programs/dtscreen/resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cde/programs/dtscreen/resource.c b/cde/programs/dtscreen/resource.c index 86aad614..060a62e8 100644 --- a/cde/programs/dtscreen/resource.c +++ b/cde/programs/dtscreen/resource.c @@ -732,7 +732,7 @@ CheckResources() #ifdef MIT_R5 fprintf(stderr, "Unknown mode: "); #else - fprintf(stderr, catgets(scmc_catd, 2, 7, + fprintf(stderr, "%s", catgets(scmc_catd, 2, 7, "Unknown mode: ")); #endif Syntax(mode); -- 2.25.1