diff --git a/lib/libalpm/diskspace.c b/lib/libalpm/diskspace.c index 2be98055..25f63c76 100644 --- a/lib/libalpm/diskspace.c +++ b/lib/libalpm/diskspace.c @@ -239,7 +239,8 @@ static int calculate_removed_size(alpm_handle_t *handle, if(llstat(path, &st) == -1) { if(alpm_option_match_noextract(handle, filename)) { _alpm_log(handle, ALPM_LOG_WARNING, - _("could not get file information for %s\n"), filename); + _("could not get file information for %s: %s\n"), + filename, strerror(errno)); } continue; }