summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-09-17 07:45:36 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-09-17 07:45:36 +0000
commit960d24bdc0d89b741f1fb1e5ae30a3ea9f5bcb12 (patch)
tree09d63dfbe7a8351648a29361f8843092c9624804 /lib
parente39716367008dc1374635d69b3161d06f33a64a1 (diff)
typo
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/locale/setlocale.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/locale/setlocale.c b/lib/libc/locale/setlocale.c
index 34281e3141f..85caec7c952 100644
--- a/lib/libc/locale/setlocale.c
+++ b/lib/libc/locale/setlocale.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: setlocale.c,v 1.9 2002/09/17 05:50:51 itojun Exp $ */
+/* $OpenBSD: setlocale.c,v 1.10 2002/09/17 07:45:35 itojun Exp $ */
/*
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
@@ -36,7 +36,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: setlocale.c,v 1.9 2002/09/17 05:50:51 itojun Exp $";
+static char rcsid[] = "$OpenBSD: setlocale.c,v 1.10 2002/09/17 07:45:35 itojun Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/localedef.h>
@@ -221,7 +221,7 @@ loadlocale(category)
* C locale. Since we have no way to change them as of yet,
* there is no need to reset them.
*/
- (void)stlrcpy(current_categories[category],
+ (void)strlcpy(current_categories[category],
new_categories[category],
sizeof(current_categories[category]));
return (current_categories[category]);