]> granicus.if.org Git - sudo/commitdiff
avoid using "howmany" for a parameter name since it is a select-related macro
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 19 Feb 2011 23:53:14 +0000 (18:53 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 19 Feb 2011 23:53:14 +0000 (18:53 -0500)
--HG--
branch : 1.7

snprintf.c

index 0fc62dcb65fe98015e7bcd26a1373dcf02ded1ee..303523232d9a872c28bffe78b943ca82ca4ba5cf 100644 (file)
@@ -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)