From 7b622a8ca12bdd816dcec22a67dde40c7f349ebb Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 19 Feb 2011 18:53:28 -0500 Subject: [PATCH] avoid using "howmany" for a parameter name since it is a select-related macro --- compat/snprintf.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/compat/snprintf.c b/compat/snprintf.c index c097b5076..251b13d56 100644 --- a/compat/snprintf.c +++ b/compat/snprintf.c @@ -303,13 +303,13 @@ xxxprintf(char **strp, size_t strsize, int alloc, const char *fmt0, va_list 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)