From: Michael Schroeder Date: Wed, 16 Sep 2009 10:31:52 +0000 (+0200) Subject: - set default prio to 99 X-Git-Tag: BASE-SuSE-Code-12_1-Branch~161^2~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f7ee8d252e8d3e33f97f912de421efb716614e4a;p=platform%2Fupstream%2Flibsolv.git - set default prio to 99 --- diff --git a/examples/solv.c b/examples/solv.c index 0c8c838..b4c5358 100644 --- a/examples/solv.c +++ b/examples/solv.c @@ -238,6 +238,7 @@ read_repoinfos(Pool *pool, const char *reposdir, int *nrepoinfosp) cinfo->alias = strdup(kp + 1); cinfo->type = TYPE_RPMMD; cinfo->autorefresh = 1; + cinfo->priority = 99; #ifndef FEDORA cinfo->repo_gpgcheck = 1; #endif @@ -2268,7 +2269,7 @@ main(int argc, char **argv) struct repoinfo *cinfo = repoinfos + i; if (!cinfo->enabled) continue; - printf("%d: %-20s %s\n", j++, cinfo->alias, cinfo->name); + printf("%d: %-20s %s (prio %d)\n", j++, cinfo->alias, cinfo->name, cinfo->priority); } exit(0); }