index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-01-28 17:41:15 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-01-29 12:13:56 -0600 |
commit | ef86da97f54a90ee4ba3ba8ea7963135e7bae8ed (patch) | |
tree | 99c492d170d3780ac2530413031593cc248a8fd3 /src/util | |
parent | 9b876fff09f2af10cba6824bec03d8fe3e167b5b (diff) |
-rw-r--r-- | src/util/pactree.c | 2 | ||||
-rw-r--r-- | src/util/testdb.c | 2 |
diff --git a/src/util/pactree.c b/src/util/pactree.c index 0ac3f246..6a10006f 100644 --- a/src/util/pactree.c +++ b/src/util/pactree.c @@ -77,7 +77,7 @@ static int alpm_local_init(void) return(ret); } - db_local = alpm_db_register_local(); + db_local = alpm_option_get_localdb(); if(!db_local) { return(1); } diff --git a/src/util/testdb.c b/src/util/testdb.c index 96a123a6..461cf23a 100644 --- a/src/util/testdb.c +++ b/src/util/testdb.c @@ -136,7 +136,7 @@ static int check_localdb(void) { return(ret); } - db = alpm_db_register_local(); + db = alpm_option_get_localdb(); if(db == NULL) { fprintf(stderr, "error: could not register 'local' database (%s)\n", alpm_strerrorlast()); |