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

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Jun 15 12:00:30 UTC 2012


commit: http://git.uclibc.org/uClibc/commit/?id=a80a6b505f785cb9f5262529fe182fb0ba216e03
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

NL_MAX_ARG does not exist.

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 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;
 }


More information about the uClibc-cvs mailing list