浏览代码

_vfprintf.c: fix typo s/NL_MAX_ARG/NL_ARGMAX/

NL_MAX_ARG does not exist.

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger 14 年之前
父节点
当前提交
a80a6b505f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      libc/stdio/_vfprintf.c

+ 2 - 2
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;
 }