Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/error.c
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-10-08 22:17:46 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-10-08 22:17:46 +0000
commit79a20cdc9685b64f36eb15bc57c06209bceb225f (patch)
treedd9b4c22343bfe5d67975146f58490bfee92807e /lib/libalpm/error.c
parent9dbce1b8d7439bf657d55a08052e053fc5f4f6ba (diff)
Added an error string for lock file creation failure
Diffstat (limited to 'lib/libalpm/error.c')
-rw-r--r--lib/libalpm/error.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/error.c b/lib/libalpm/error.c
index c2b15414..3b7797c7 100644
--- a/lib/libalpm/error.c
+++ b/lib/libalpm/error.c
@@ -82,6 +82,9 @@ char *alpm_strerror(int err)
return "could not resolve dependencies";
case PM_ERR_FILE_CONFLICTS:
return "conflicting files";
+ /* System */
+ case PM_ERR_HANDLE_LOCK:
+ return "could not create the lock file";
default:
return "unexpected error";
}