diff options
author | 1999-07-28 20:09:13 +0000 | |
---|---|---|
committer | 1999-07-28 20:09:13 +0000 | |
commit | 5159aa5c0202e1da7f71027f3957d758b90d366c (patch) | |
tree | c00713b96ebd91e28d4ed814450636fafc578f3c | |
parent | Fix typos. (diff) | |
download | glibc-5159aa5c0202e1da7f71027f3957d758b90d366c.tar.xz glibc-5159aa5c0202e1da7f71027f3957d758b90d366c.zip |
Fix typo.
-rw-r--r-- | stdlib/mbtowc.c | 2 | ||||
-rw-r--r-- | stdlib/wctomb.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/mbtowc.c b/stdlib/mbtowc.c index aeac2ce0b8..cba34d32a4 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 5c9d6927b2..62e0f0e6a9 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; } |