diff options
-rw-r--r-- | tests/test-coredump-unwind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-coredump-unwind.c b/tests/test-coredump-unwind.c index 22fe9e42..53498237 100644 --- a/tests/test-coredump-unwind.c +++ b/tests/test-coredump-unwind.c @@ -137,7 +137,7 @@ static void verror_msg_helper(const char *s, if (flags & LOGMODE_STDIO) { fflush(stdout); - used += write(STDERR_FILENO, msg, used + msgeol_len); + write(STDERR_FILENO, msg, used + msgeol_len); } msg[used] = '\0'; /* remove msg_eol (usually "\n") */ if (flags & LOGMODE_SYSLOG) |