You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/iptraf-ng/files/iptraf-ng-1.1.4-printf-form...

12 lines
284 B

--- 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;