From 79a20cdc9685b64f36eb15bc57c06209bceb225f Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Sat, 8 Oct 2005 22:17:46 +0000 Subject: Added an error string for lock file creation failure --- lib/libalpm/error.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/libalpm') 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"; } -- cgit v1.2.3-24-g4f1b