Browse code

msg prefixes unification

Libor Chocholaty authored on 25/06/2007 09:41:54
Showing 1 changed files
... ...
@@ -223,13 +223,13 @@ int str2facility(char *s);
223 223
 #endif
224 224
 
225 225
 #ifdef __SUNPRO_C
226
-		#define DEBUG(...) DBG("DEBUG"            LOC_INFO __VA_ARGS__)
226
+		#define DEBUG(...) DBG("DEBUG: "          LOC_INFO __VA_ARGS__)
227 227
 		#define ERR(...)  LOG(L_ERR, "ERROR: "    LOC_INFO __VA_ARGS__)
228 228
 		#define WARN(...) LOG(L_WARN, "WARNING: " LOC_INFO __VA_ARGS__)
229 229
 		#define INFO(...) LOG(L_INFO, "INFO: "    LOC_INFO __VA_ARGS__)
230 230
 		#define BUG(...) LOG(L_CRIT, "BUG: "      LOC_INFO __VA_ARGS__)
231 231
 #else
232
-		#define DEBUG(fmt, args...) DBG("DEBUG "        LOC_INFO fmt, ## args)
232
+		#define DEBUG(fmt, args...) DBG("DEBUG: "       LOC_INFO fmt, ## args)
233 233
 		#define ERR(fmt, args...) LOG(L_ERR, "ERROR: "  LOC_INFO fmt, ## args)
234 234
 		#define WARN(fmt, args...) LOG(L_WARN, "WARN: " LOC_INFO fmt, ## args)
235 235
 		#define INFO(fmt, args...) LOG(L_INFO, "INFO: " LOC_INFO fmt, ## args)