index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-10-31 11:43:04 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-11-04 09:50:43 -0600 |
commit | dea9b3bc0f6ba49aec8452958f5373fbb20e7df2 (patch) | |
tree | b06f792e4d258b0ca69a0fb373d40c2eacee6b2e /src/util/testpkg.c | |
parent | 4a5e7b6bd1a887f67b9b9ec8115250fc92c741ca (diff) |
-rw-r--r-- | src/util/testpkg.c | 4 |
diff --git a/src/util/testpkg.c b/src/util/testpkg.c index 7d844e85..d2679e58 100644 --- a/src/util/testpkg.c +++ b/src/util/testpkg.c @@ -27,6 +27,8 @@ #include <alpm.h> +#define BASENAME "testpkg" + static void output_cb(pmloglevel_t level, char *fmt, va_list args) { if(strlen(fmt)) { @@ -45,7 +47,7 @@ int main(int argc, char **argv) pmpkg_t *pkg = NULL; if(argc != 2) { - fprintf(stderr, "usage: %s <package file>\n", basename(argv[0])); + fprintf(stderr, "usage: %s <package file>\n", BASENAME); return(1); } |