Commit Diff


commit - 188f8dcf2c1c15bf37859e3b587bc6331fd5a097
commit + ba4dfaf77ed2c311eaabc0b99e96083ba548c937
blob - 5bb8770f6058679e049a234c6d8b4492640cfd7e
blob + 14609f4960c9b8d6580769df8494ba5c3d482139
--- gotd/log.c
+++ gotd/log.c
@@ -166,9 +166,9 @@ vfatalc(int code, const char *emsg, va_list ap)
 		sep = "";
 	}
 	if (code)
-		logit(LOG_CRIT, "%s: %s%s", s, sep, strerror(code));
+		logit(LOG_CRIT, "%s%s%s", s, sep, strerror(code));
 	else
-		logit(LOG_CRIT, "%s%s", sep, s);
+		logit(LOG_CRIT, "%s", s);
 }
 
 void