summaryrefslogtreecommitdiff
path: root/lib/libalpm/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/util.c')
-rw-r--r--lib/libalpm/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c
index dd1ba812..c526ed8e 100644
--- a/lib/libalpm/util.c
+++ b/lib/libalpm/util.c
@@ -139,6 +139,8 @@ int _alpm_makepath(const char *path)
if(mkdir(full, 0755)) {
FREE(orig);
umask(oldmask);
+ _alpm_log(PM_LOG_ERROR, _("failed to make path '%s' : %s"),
+ path, strerror(errno));
return(1);
}
}