[zypp-commit] r11494 - /trunk/sat-solver/tools/repo_content.c
Author: kkaempf Date: Mon Oct 27 10:32:19 2008 New Revision: 11494 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11494&view=rev Log: improve error output (http://lists.opensuse.org/opensuse-factory/2008-10/msg00589.html) Modified: trunk/sat-solver/tools/repo_content.c Modified: trunk/sat-solver/tools/repo_content.c URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/tools/repo_content.c?rev=11494&r1=11493&r2=11494&view=diff ============================================================================== --- trunk/sat-solver/tools/repo_content.c (original) +++ trunk/sat-solver/tools/repo_content.c Mon Oct 27 10:32:19 2008 @@ -142,7 +142,7 @@ if (!rel || !evr) { - fprintf(stderr, "bad relation '%s %s'\n", name, rel); + fprintf(stderr, "repo_content: bad relation '%s %s'\n", name, rel); exit(1); } for (flags = 0; flags < 6; flags++) @@ -150,7 +150,7 @@ break; if (flags == 6) { - fprintf(stderr, "Unknown relation '%s'\n", rel); + fprintf(stderr, "repo_content: Unknown relation '%s'\n", rel); exit(1); } id = rel2id(pool, id, str2id(pool, evr, 1), flags + 1, 1); @@ -404,12 +404,12 @@ #undef istag } else - fprintf (stderr, "malformed line: %s\n", line); + fprintf (stderr, "repo_content: malformed line: %s\n", line); } if (!s || !s->name) { - fprintf(stderr, "No product solvable created !\n"); + fprintf(stderr, "repo_content: 'content' incomplete, no product solvable created !\n"); exit(1); } -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org
participants (1)
-
kkaempf@svn.opensuse.org