mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
Handle PM_ERR_WRITE in alpm_strerror()
PM_ERR_WRITE is defined in alpm.h but not handled in alpm_strerror(). This patch corrects that. Signed-off-by: Pang Yan Han <pangyanhan@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
fafa909a2d
commit
30bb969ace
@ -135,6 +135,8 @@ const char SYMEXPORT *alpm_strerror(int err)
|
||||
/* Miscellaenous */
|
||||
case PM_ERR_RETRIEVE:
|
||||
return _("failed to retrieve some files");
|
||||
case PM_ERR_WRITE:
|
||||
return _("failed to copy some file");
|
||||
case PM_ERR_INVALID_REGEX:
|
||||
return _("invalid regular expression");
|
||||
/* Errors from external libraries- our own wrapper error */
|
||||
|
Loading…
Reference in New Issue
Block a user