Displaying 1 result from an estimated 1 matches for "aa7ec8f".
Did you mean:
2a71c8f
2010 Jun 18
2
[PATCH] hdt & gcc -Werror
...at
first seems strange but by doing this change it forces printf to print
exactly what is in the string variable without attempting to
re-interpret for another argument (just in case there's a '%' in the
string).
---
diff --git a/com32/hdt/hdt-cli-cpu.c b/com32/hdt/hdt-cli-cpu.c
index aa7ec8f..1695ccd 100644
--- a/com32/hdt/hdt-cli-cpu.c
+++ b/com32/hdt/hdt-cli-cpu.c
@@ -67,7 +67,7 @@ static void show_flag(char *buffer, bool flag, char
*flag_name, bool flush)
if ((((strlen(buffer) + strlen(flag_name)) > 66) && flag) || flush) {
snprintf(output_buffer, sizeof output_buf...