diff options
Diffstat (limited to 'net-analyzer/iptraf-ng/files/iptraf-ng-1.1.4-printf-format.patch')
-rw-r--r-- | net-analyzer/iptraf-ng/files/iptraf-ng-1.1.4-printf-format.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-analyzer/iptraf-ng/files/iptraf-ng-1.1.4-printf-format.patch b/net-analyzer/iptraf-ng/files/iptraf-ng-1.1.4-printf-format.patch new file mode 100644 index 000000000000..6bad736e2e44 --- /dev/null +++ b/net-analyzer/iptraf-ng/files/iptraf-ng-1.1.4-printf-format.patch @@ -0,0 +1,11 @@ +--- a/src/ipfilter.c ++++ b/src/ipfilter.c +@@ -146,7 +146,7 @@ + snprintf(msgstr, 60, + "Invalid protocol input at or near token \"%s\"", + bptr); +- tui_error(ANYKEY_MSG, msgstr); ++ tui_error(ANYKEY_MSG, "%s", msgstr); + doagain = 1; + } else + doagain = 0; |