diff options
Diffstat (limited to 'lib/libalpm/log.c')
-rw-r--r-- | lib/libalpm/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/log.c b/lib/libalpm/log.c index 26f811e5..6cb18f30 100644 --- a/lib/libalpm/log.c +++ b/lib/libalpm/log.c @@ -103,7 +103,7 @@ int SYMEXPORT alpm_logaction(alpm_handle_t *handle, const char *prefix, if(_alpm_log_leader(handle->logstream, prefix) < 0 || vfprintf(handle->logstream, fmt, args) < 0) { ret = -1; - handle->pm_errno = ALPM_ERR_SYSTEM; + _alpm_set_errno(handle, ALPM_ERR_SYSTEM); } fflush(handle->logstream); } |