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 /src/util/testpkg.c | |
parent | f21c45c0ddf195a4dcfca08c19bfa23d1c7fb326 (diff) |
-rw-r--r-- | src/util/testpkg.c | 4 |
diff --git a/src/util/testpkg.c b/src/util/testpkg.c index 71993bdc..7da18ca6 100644 --- a/src/util/testpkg.c +++ b/src/util/testpkg.c @@ -50,7 +50,7 @@ int main(int argc, char **argv) } if(alpm_initialize() == -1) { - fprintf(stderr, "cannot initilize alpm: %s\n", alpm_strerror(pm_errno)); + fprintf(stderr, "cannot initilize alpm: %s\n", alpm_strerrorlast()); return(1); } @@ -65,7 +65,7 @@ int main(int argc, char **argv) } if(alpm_release() == -1) { - fprintf(stderr, "error releasing alpm: %s\n", alpm_strerror(pm_errno)); + fprintf(stderr, "error releasing alpm: %s\n", alpm_strerrorlast()); } return(retval); |