summaryrefslogtreecommitdiff
path: root/common/printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/printf.c')
-rw-r--r--common/printf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/printf.c b/common/printf.c
index baac4addf7..914d03b969 100644
--- a/common/printf.c
+++ b/common/printf.c
@@ -182,7 +182,7 @@ int vfnprintf(int (*addchar)(void *context, int c), void *context,
}
}
if (pad_width < 0 || pad_width > MAX_FORMAT) {
- /* Sanity check for precision failed */
+ /* Validity check for precision failed */
format = error_str;
continue;
}
@@ -202,7 +202,7 @@ int vfnprintf(int (*addchar)(void *context, int c), void *context,
}
}
if (precision < 0 || precision > MAX_FORMAT) {
- /* Sanity check for precision failed */
+ /* Validity check for precision failed */
format = error_str;
continue;
}