[PATCH] manual: Fixed typo in manual/stdio.texi [BZ #24638]
Girish Joshi
girish946@gmail.com
Mon Mar 2 18:57:00 GMT 2020
>From 7f69eae716feb76474975fbf23d48e975019a424 Mon Sep 17 00:00:00 2001
From: Girish Joshi <girish946@gmail.com>
Date: Tue, 3 Mar 2020 00:24:28 +0530
Subject: [PATCH] [PATCH] Fixed typo in the example for parse_printf_format()
in manual/stdio.texi [BZ #24638]
---
manual/stdio.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/manual/stdio.texi b/manual/stdio.texi
index 8051603321..c48e3e692f 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)
--
2.21.1
More information about the Libc-alpha
mailing list