aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Colomar \(man-pages\) <alx.manpages@gmail.com>2021-03-24 19:29:16 +0100
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-31 17:20:18 -0300
commit8786bf6eb60cd5e2c80bace42714b4de3bda8c4e (patch)
tree930afe363d1bfdcec18095aece2ca892ce02a65c
parentbfddda2570331da2ae4387b530456e6c4e230257 (diff)
downloadglibc-8786bf6eb60cd5e2c80bace42714b4de3bda8c4e.zip
glibc-8786bf6eb60cd5e2c80bace42714b4de3bda8c4e.tar.gz
glibc-8786bf6eb60cd5e2c80bace42714b4de3bda8c4e.tar.bz2
stdio-common/printf-prs.c: Reword comment
'this' can be understood as the current parameter, but in this case it is meaning the other one, the one holding the width/precission. 'it' better describes that parameter, differentiating it from the one corresponding to the current specifier. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
-rw-r--r--stdio-common/printf-prs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdio-common/printf-prs.c b/stdio-common/printf-prs.c
index 1d4e005..8ebf09a 100644
--- a/stdio-common/printf-prs.c
+++ b/stdio-common/printf-prs.c
@@ -72,11 +72,11 @@ parse_printf_format (const char *fmt, size_t n, int *argtypes)
/* Parse this spec. */
nargs += __parse_one_specmb (f, nargs, &spec, &max_ref_arg);
- /* If the width is determined by an argument this is an int. */
+ /* If the width is determined by an argument, it is an int. */
if (spec.width_arg != -1 && (size_t) spec.width_arg < n)
argtypes[spec.width_arg] = PA_INT;
- /* If the precision is determined by an argument this is an int. */
+ /* If the precision is determined by an argument, it is an int. */
if (spec.prec_arg != -1 && (size_t) spec.prec_arg < n)
argtypes[spec.prec_arg] = PA_INT;