Fix cryptic macro evaluation error message (RhBug:613010)

This commit is contained in:
Jindrich Novy 2010-07-13 13:34:05 +02:00
parent 01fc4cfa93
commit 60be56e317
1 changed files with 1 additions and 2 deletions

View File

@ -1046,8 +1046,7 @@ expandMacro(MacroBuf mb)
if (++mb->depth > max_macro_depth) {
rpmlog(RPMLOG_ERR,
_("Recursion depth(%d) greater than max(%d)\n"),
mb->depth, max_macro_depth);
_("Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration.\n"));
mb->depth--;
mb->expand_trace = 1;
return 1;