Commit Diff


commit - 0ac785a6fa007acdc8ecb4f697981c574ab1b710
commit + 114e9a4206567c38ad98fd24c627d08d17f89d7d
blob - 2b842240c42dbf2d5835ae49426ca89c3c509a0c
blob + a6d21d59d1a32da58a058c2f899fbf92c9aee833
--- log.c
+++ log.c
@@ -107,7 +107,7 @@ fatal_impl(int use_err, const char *fmt, va_list ap)
 	} else
 		str = NULL, r = 0;
 
-	send_log(IMSG_LOG, LOG_CRIT, str, r);
+	send_log(IMSG_LOG, LOG_CRIT, str, r + 1);
 	free(str);
 
 	/* wait for the logger process to shut down */