From 1d869db224cd8743ea3ddcaefee57ef3d6ff2e10 Mon Sep 17 00:00:00 2001 From: yamt Date: Mon, 18 Mar 2002 08:09:28 +0000 Subject: make mbsrtowcs work.(fix a typo) --- lib/libc/citrus/citrus_ctype_template.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/libc/citrus/citrus_ctype_template.h b/lib/libc/citrus/citrus_ctype_template.h index d07a8f0e9c4..e8fb4896d39 100644 --- a/lib/libc/citrus/citrus_ctype_template.h +++ b/lib/libc/citrus/citrus_ctype_template.h @@ -1,4 +1,4 @@ -/* $NetBSD: citrus_ctype_template.h,v 1.1 2002/03/17 22:14:19 tshiozak Exp $ */ +/* $NetBSD: citrus_ctype_template.h,v 1.2 2002/03/18 08:09:28 yamt Exp $ */ /*- * Copyright (c)2002 Citrus Project, @@ -476,7 +476,7 @@ _FUNCNAME(ctype_mbsrtowcs)(void * __restrict cl, wchar_t * __restrict pwcs, _DIAGASSERT(cl != NULL); _RESTART_BEGIN(mbsrtowcs, _TO_CEI(cl), pspriv, psenc); - err = _FUNCNAME(mbsrtowcs_priv)(cl, NULL, s, n, psenc, nresult); + err = _FUNCNAME(mbsrtowcs_priv)(cl, pwcs, s, n, psenc, nresult); _RESTART_END(mbsrtowcs, _TO_CEI(cl), pspriv, psenc); return (err); -- cgit