[haiku-commits] Change in haiku[master]: bin/locale/collectcatkeys: Fix -Wformat-security

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: waddlesplash <waddlesplash@xxxxxxxxx>, haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 19 Oct 2020 11:11:00 +0000

From Murai Takashi <tmurai01@xxxxxxxxx>:

Murai Takashi has uploaded this change for review. ( 
https://review.haiku-os.org/c/haiku/+/3338 ;)


Change subject: bin/locale/collectcatkeys: Fix -Wformat-security
......................................................................

bin/locale/collectcatkeys: Fix -Wformat-security

Change-Id: I7e09dd3d8eac8eeb6c4b92e9d9ebf61d5a7b9f5a
---
M src/bin/locale/collectcatkeys.cpp
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://git.haiku-os.org:22/haiku refs/changes/38/3338/1

diff --git a/src/bin/locale/collectcatkeys.cpp 
b/src/bin/locale/collectcatkeys.cpp
index e8ded99..f5348df 100644
--- a/src/bin/locale/collectcatkeys.cpp
+++ b/src/bin/locale/collectcatkeys.cpp
@@ -56,7 +56,7 @@
                "  -r <regex>\t\tchanges the regex used by the key-scanner to 
the one "
                "given,\n"
                "      \t\t\tthe default is:   ");
-               fprintf(stderr, rxString.String());
+               fputs(rxString.String(), stderr);
                fprintf(stderr,"\n  -s <catalogSig>\tsignature of the 
target-catalog\n"
                "  -v\t\t\tbe verbose, show summary\n"
                "  -w\t\t\tshow warnings about catalog-accesses that couldn't 
be "

--
To view, visit https://review.haiku-os.org/c/haiku/+/3338
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: I7e09dd3d8eac8eeb6c4b92e9d9ebf61d5a7b9f5a
Gerrit-Change-Number: 3338
Gerrit-PatchSet: 1
Gerrit-Owner: Murai Takashi <tmurai01@xxxxxxxxx>
Gerrit-MessageType: newchange

Other related posts:

  • » [haiku-commits] Change in haiku[master]: bin/locale/collectcatkeys: Fix -Wformat-security - Gerrit