diff options
author | Omar Polo <op@omarpolo.com> | 2023-06-05 20:45:28 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-06-05 20:45:28 +0000 |
commit | 114e9a4206567c38ad98fd24c627d08d17f89d7d (patch) | |
tree | 6661813d66944371bf17832b5957c8be0803463b /log.c | |
parent | 0ac785a6fa007acdc8ecb4f697981c574ab1b710 (diff) |
fix off-by-one in recent fatal change
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |