From 960d24bdc0d89b741f1fb1e5ae30a3ea9f5bcb12 Mon Sep 17 00:00:00 2001 From: Jun-ichiro itojun Hagino Date: Tue, 17 Sep 2002 07:45:36 +0000 Subject: typo --- lib/libc/locale/setlocale.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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 @@ -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]); -- cgit v1.2.3