mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-12 16:20:06 +00:00
manual: Fix typo in parse_printf_format example [BZ #24638]
This commit is contained in:
parent
78c9d0c6ef
commit
72bcc9ade0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user