[git commit future 1/1] _vfprintf.c: fix typo s/NL_MAX_ARG/NL_ARGMAX/

Khem Raj raj.khem at gmail.com
Sat Mar 19 18:51:25 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=fe91bfe60eb3c0cb733811dcadd5d4142d97f4ff
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future

NL_MAX_ARG does not exist.

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
 libc/stdio/_vfprintf.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libc/stdio/_vfprintf.c b/libc/stdio/_vfprintf.c
index bcbf1ed..ab7c7c3 100644
--- a/libc/stdio/_vfprintf.c
+++ b/libc/stdio/_vfprintf.c
@@ -560,7 +560,7 @@ int attribute_hidden _ppfs_init(register ppfs_t *ppfs, const char *fmt0)
 		ppfs->fmtpos = fmt0;		/* rewind */
 	}
 
-#ifdef NL_MAX_ARG
+#ifdef NL_ARGMAX
 	/* If we have positional args, make sure we know all the types. */
 	{
 		register int *p = ppfs->argtype;
@@ -572,7 +572,7 @@ int attribute_hidden _ppfs_init(register ppfs_t *ppfs, const char *fmt0)
 			++p;
 		}
 	}
-#endif /* NL_MAX_ARG */
+#endif /* NL_ARGMAX */
 
 	return 0;
 }
-- 
1.7.3.4



More information about the uClibc-cvs mailing list