This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] manual: Fixed typo in manual/stdio.texi [BZ #24638]
- From: Girish Joshi <girish946 at gmail dot com>
- To: libc-alpha at sourceware dot org
- Date: Tue, 3 Mar 2020 00:27:25 +0530
- Subject: [PATCH] manual: Fixed typo in manual/stdio.texi [BZ #24638]
>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