From: Todd C. Miller Date: Sat, 19 Feb 2011 23:53:14 +0000 (-0500) Subject: avoid using "howmany" for a parameter name since it is a select-related macro X-Git-Tag: SUDO_1_7_5~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d8e5f48684a4e0851adecc33948e2211c6746a50;p=sudo avoid using "howmany" for a parameter name since it is a select-related macro --HG-- branch : 1.7 --- diff --git a/snprintf.c b/snprintf.c index 0fc62dcb6..303523232 100644 --- a/snprintf.c +++ b/snprintf.c @@ -340,13 +340,13 @@ xxxprintf(strp, strsize, alloc, fmt0, ap) } while (0) /* BEWARE, PAD uses `n'. */ -#define PAD(howmany, with) do { \ - if ((n = (howmany)) > 0) { \ +#define PAD(plen, pstr) do { \ + if ((n = (plen)) > 0) { \ while (n > PADSIZE) { \ - PRINT(with, PADSIZE); \ + PRINT(pstr, PADSIZE); \ n -= PADSIZE; \ } \ - PRINT(with, n); \ + PRINT(pstr, n); \ } \ } while (0)