summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-02-05 19:22:04 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-02-05 19:22:04 +0000
commite56a1af6231b1037bc62d2ce4ee628b640362476 (patch)
tree45b10daccf87075ad2500c2814f7dc6d543b1e14
parentd81a091605c6ebb7328644f3399f97f0f145f2d6 (diff)
Notes
-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 417420c8f2eca..7e624c5f42c97 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);