From: Ulrich Drepper Date: Wed, 28 Jul 1999 20:09:13 +0000 (+0000) Subject: Fix typo. X-Git-Tag: cvs/glibc_2-1-2~205 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5159aa5c0202e1da7f71027f3957d758b90d366c;p=thirdparty%2Fglibc.git Fix typo. --- diff --git a/stdlib/mbtowc.c b/stdlib/mbtowc.c index aeac2ce0b83..cba34d32a4a 100644 --- a/stdlib/mbtowc.c +++ b/stdlib/mbtowc.c @@ -48,7 +48,7 @@ mbtowc (wchar_t *pwc, const char *s, size_t n) /* This is an extension in the Unix standard which does not directly violate ISO C. */ - memset (&__no_r_state, '\0', siyeof __no_r_state); + memset (&__no_r_state, '\0', sizeof __no_r_state); result = __wcsmbs_gconv_fcts.towc->__stateful; } diff --git a/stdlib/wctomb.c b/stdlib/wctomb.c index 5c9d6927b21..62e0f0e6a93 100644 --- a/stdlib/wctomb.c +++ b/stdlib/wctomb.c @@ -44,7 +44,7 @@ wctomb (char *s, wchar_t wchar) /* This is an extension in the Unix standard which does not directly violate ISO C. */ - memset (&__no_r_state, '\0', siyeof __no_r_state); + memset (&__no_r_state, '\0', sizeof __no_r_state); return __wcsmbs_gconv_fcts.tomb->stateful; }