diff options
Diffstat (limited to 'src/verbose.c')
-rw-r--r-- | src/verbose.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/verbose.c b/src/verbose.c index b8751069..f330c6f5 100644 --- a/src/verbose.c +++ b/src/verbose.c @@ -126,6 +126,7 @@ static void _vverbose_(int loglevel, const char *file, int line, const char *fun n = 2; if (fmt) { iov[n].iov_base = buffer; + errno = saverr; rc = vsnprintf(buffer, sizeof buffer, fmt, args); if (rc < 0) rc = 0; |