xbps-pkgdb: fix the register target.

--HG--
extra : convert_revision : 4259cf00cd001d386a841200242d94cc18604c93
This commit is contained in:
Juan RP 2008-12-20 08:13:18 +01:00
parent b24db2af76
commit 074f4dddeb
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ main(int argc, char **argv)
/* Add array into main dictionary. */ /* Add array into main dictionary. */
dbdict = prop_dictionary_create(); dbdict = prop_dictionary_create();
if (!xbps_add_obj_to_dict(dbdict, dbarray, if (!xbps_add_obj_to_dict(dbdict, dbarray,
"packages_installed")) { "packages")) {
printf("=> ERROR: couldn't register pkg\n"); printf("=> ERROR: couldn't register pkg\n");
exit(1); exit(1);
} }