index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Stefano Esposito <stefano.esposito87@gmail.com> | 2007-09-08 18:41:45 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-09-11 20:58:27 -0500 |
commit | 27acdc2c94de558103eb29260c179a49c9b05c14 (patch) | |
tree | 969d73111d6a1943975fae23ac5ba5747bb6e0d2 /lib/libalpm/error.c | |
parent | f21c45c0ddf195a4dcfca08c19bfa23d1c7fb326 (diff) |
-rw-r--r-- | lib/libalpm/error.c | 5 |
diff --git a/lib/libalpm/error.c b/lib/libalpm/error.c index b5e301aa..f81d22da 100644 --- a/lib/libalpm/error.c +++ b/lib/libalpm/error.c @@ -30,6 +30,11 @@ #include "alpm.h" /* TODO does this really need a file all on its own? */ +const char SYMEXPORT *alpm_strerrorlast(void) +{ + return alpm_strerror(pm_errno); +} + const char SYMEXPORT *alpm_strerror(int err) { switch(err) { |