Signed-off-by: cherry530 <707078654@qq.com> (cherry picked from commit 2415b5b15550ddec97f965fe22e3bd77323db3e1)
27 lines
703 B
Diff
27 lines
703 B
Diff
From c84b26e5367ee6a0ab856c14bf1e18aa274926f9 Mon Sep 17 00:00:00 2001
|
|
From: cherry530 <707078654@qq.com>
|
|
Date: Fri, 25 Aug 2023 17:33:50 +0800
|
|
Subject: [PATCH] Fix issues with Werror format security
|
|
|
|
Signed-off-by: cherry530 <707078654@qq.com>
|
|
---
|
|
tools/wml/wmlouth.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/tools/wml/wmlouth.c b/tools/wml/wmlouth.c
|
|
index ead4512..e92d181 100644
|
|
--- a/tools/wml/wmlouth.c
|
|
+++ b/tools/wml/wmlouth.c
|
|
@@ -799,7 +799,7 @@ for ( ndx=0 ; ndx<wml_obj_arg_ptr->cnt ; ndx++ )
|
|
}
|
|
if ( bitno != 8 )
|
|
fprintf (outfil, "%s", maskbuf);
|
|
-fprintf (outfil, canned1a);
|
|
+fprintf (outfil, "%s", canned1a);
|
|
|
|
/*
|
|
* close the output file
|
|
--
|
|
2.27.0
|
|
|