diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/import-rpmdb.c | 2 | ||||
-rw-r--r-- | src/import-yum.c | 2 | ||||
-rw-r--r-- | src/main.c | 2 | ||||
-rw-r--r-- | src/rpm.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/import-rpmdb.c b/src/import-rpmdb.c index 22d0855..916ca27 100644 --- a/src/import-rpmdb.c +++ b/src/import-rpmdb.c @@ -97,7 +97,7 @@ razor_set_create_from_rpmdb(void) exit(1); } - importer = razor_importer_new(); + importer = razor_importer_create(); iter = rpmdbInitIterator(db, 0, NULL, 0); while (h = rpmdbNextIterator(iter), h != NULL) { diff --git a/src/import-yum.c b/src/import-yum.c index 2efd201..f70c71d 100644 --- a/src/import-yum.c +++ b/src/import-yum.c @@ -256,7 +256,7 @@ razor_set_create_from_yum(void) gzFile primary, filelists; XML_ParsingStatus status; - ctx.importer = razor_importer_new(); + ctx.importer = razor_importer_create(); ctx.state = YUM_STATE_BEGIN; ctx.primary_parser = XML_ParserCreate(NULL); @@ -537,7 +537,7 @@ command_import_rpms(int argc, const char *argv[]) return -1; } - importer = razor_importer_new(); + importer = razor_importer_create(); while (de = readdir(dir), de != NULL) { len = strlen(de->d_name); @@ -414,7 +414,7 @@ create_set_from_command_line(int argc, const char *argv[]) struct razor_rpm *rpm; int i; - importer = razor_importer_new(); + importer = razor_importer_create(); for (i = 0; i < argc; i++) { rpm = razor_rpm_open(argv[i]); |