From 60be56e317b1a18f0d71a2dc71c6fb18f26e19b9 Mon Sep 17 00:00:00 2001 From: Jindrich Novy Date: Tue, 13 Jul 2010 13:34:05 +0200 Subject: [PATCH] Fix cryptic macro evaluation error message (RhBug:613010) --- rpmio/macro.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rpmio/macro.c b/rpmio/macro.c index 88fb583..2927a63 100644 --- a/rpmio/macro.c +++ b/rpmio/macro.c @@ -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; -- 2.7.4