From: Girish Joshi Date: Wed, 4 Mar 2020 12:20:07 +0000 (+0100) Subject: manual: Fix typo in parse_printf_format example [BZ #24638] X-Git-Tag: glibc-2.32~533 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72bcc9ade00732b5b0ea0e855cc017364aea20df;p=thirdparty%2Fglibc.git manual: Fix typo in parse_printf_format example [BZ #24638] --- diff --git a/manual/stdio.texi b/manual/stdio.texi index 8051603321c..c48e3e692f6 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)