summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdtime/strftime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdtime/strftime.c b/lib/libc/stdtime/strftime.c
index 417420c..7e624c5 100644
--- a/lib/libc/stdtime/strftime.c
+++ b/lib/libc/stdtime/strftime.c
@@ -509,7 +509,7 @@ __time_load_locale(const char *name)
if (!_PathLocale)
goto no_locale;
- /* Range checking already done at upper level caller */
+ /* Range checking not needed, name has fixed size */
strcpy(filename, _PathLocale);
strcat(filename, "/");
strcat(filename, name);
OpenPOWER on IntegriCloud