29 lines
759 B
Diff
29 lines
759 B
Diff
From c16cb27b0add041a54e78a90a56b7ad3df1c0e48 Mon Sep 17 00:00:00 2001
|
|
From: Troy Dawson <tdawson@redhat.com>
|
|
Date: Fri, 6 Oct 2017 10:48:50 -0500
|
|
Subject: [PATCH] b43-tools fix format security errors
|
|
|
|
---
|
|
ssb_sprom/ssb_sprom.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/ssb_sprom/ssb_sprom.c b/ssb_sprom/ssb_sprom.c
|
|
index 67aa45f..cb14703 100644
|
|
--- a/ssb_sprom/ssb_sprom.c
|
|
+++ b/ssb_sprom/ssb_sprom.c
|
|
@@ -678,9 +678,9 @@ static void print_banner(int forceprint)
|
|
"Be exceedingly careful with this tool. Improper"
|
|
" usage WILL BRICK YOUR DEVICE.\n";
|
|
if (forceprint)
|
|
- prdata(str);
|
|
+ prdata("%s", str);
|
|
else
|
|
- prinfo(str);
|
|
+ prinfo("%s", str);
|
|
}
|
|
|
|
static void print_usage(int argc, char *argv[])
|
|
--
|
|
2.14.2
|
|
|