From 72bcc9ade00732b5b0ea0e855cc017364aea20df Mon Sep 17 00:00:00 2001 From: Girish Joshi Date: Wed, 4 Mar 2020 13:20:07 +0100 Subject: manual: Fix typo in parse_printf_format example [BZ #24638] --- manual/stdio.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manual/stdio.texi') diff --git a/manual/stdio.texi b/manual/stdio.texi index 8051603..c48e3e6 100644 --- a/manual/stdio.texi +++ b/manual/stdio.texi @@ -2880,7 +2880,7 @@ validate_args (char *format, int nargs, OBJECT *args) @r{length of the string.} */ argtypes = (int *) alloca (strlen (format) / 2 * sizeof (int)); - nwanted = parse_printf_format (string, nelts, argtypes); + nwanted = parse_printf_format (format, nargs, argtypes); /* @r{Check the number of arguments.} */ if (nwanted > nargs) -- cgit v1.1