summaryrefslogtreecommitdiff
path: root/src/util/testdb.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2009-08-18 20:49:25 -0500
committerDan McGee <dan@archlinux.org>2009-08-18 20:49:25 -0500
commit92f0775e76c75ebe9e30355cc99bb40cf365abcb (patch)
tree6268a6ce1457109bf5878d3aa66bfbf3a5c5afe2 /src/util/testdb.c
parent7dae79e7b95c517df136003728363dc9ad346a7e (diff)
parentbdd8e92ff601aab44941e7572f6c48d7e32a3f24 (diff)
downloadpacman-92f0775e76c75ebe9e30355cc99bb40cf365abcb.tar.xz
Merge branch 'maint'
Conflicts: lib/libalpm/dload.c
Diffstat (limited to 'src/util/testdb.c')
-rw-r--r--src/util/testdb.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/util/testdb.c b/src/util/testdb.c
index abbc62f1..e521e6b3 100644
--- a/src/util/testdb.c
+++ b/src/util/testdb.c
@@ -183,9 +183,9 @@ int check_syncdbs(char *dbpath, alpm_list_t *dbnames) {
void usage() {
fprintf(stderr, "usage:\n");
- fprintf(stderr,
+ fprintf(stderr,
"\t%s [-b <pacman db>] : check the local database\n", BASENAME);
- fprintf(stderr,
+ fprintf(stderr,
"\t%s [-b <pacman db>] core extra ... : check the listed sync databases\n", BASENAME);
exit(1);
}
@@ -224,10 +224,8 @@ int main(int argc, char **argv)
alpm_option_set_dbpath(dbpath);
if(!dbnames) {
- printf("Checking the integrity of the local database in %s\n",dbpath);
ret = check_localdb(dbpath);
} else {
- printf("Checking the integrity of the sync databases in %s\n",dbpath);
ret = check_syncdbs(dbpath,dbnames);
}