Øyvind Harboe wrote:
This patch didn't apply cleanly. Could you resubmit against trunk?

Thanks!


This is killing me timewise. We should be looking for a better solution soon.

Thanks.

Index: src/helper/log.c
===================================================================
--- src/helper/log.c	(revision 1261)
+++ src/helper/log.c	(working copy)
@@ -55,13 +55,14 @@
 
 static char *log_strings[5] =
 {
-	"User:   ",
-	"Error:  ",
-	"Warning:",
-	"Info:   ",
-	"Debug:  "
+	"User : ",
+	"Error: ",
+	"Warn : ",  /* want a space after each colon, all same width, colons aligned */
+	"Info : ",
+	"Debug: "
 };
 
+
 static int count = 0;
 
 /* The log_puts() serves to somewhat different goals:
@@ -99,7 +100,7 @@
 			struct mallinfo info;
 			info = mallinfo();
 #endif
-			fprintf(log_output, "%s %d %d %s:%d %s()"
+			fprintf(log_output, "%s%d %d %s:%d %s()"
 #if PRINT_MEM()
 					" %d"
 #endif
@@ -217,7 +218,7 @@
 			LOG_WARNING("enabling log output as we are using pipes");
 		}
 	}
-	
+
 	return ERROR_OK;
 }
 
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to