OSDN Git Service

wchar: fix inverted parameters in error message
authorAndré Goddard Rosa <andre.goddard@gmail.com>
Tue, 2 Jun 2009 12:36:28 +0000 (09:36 -0300)
committerMike Frysinger <vapier@gentoo.org>
Sun, 28 Jun 2009 17:27:37 +0000 (13:27 -0400)
commit6f49b76f5c589bc40aceed3d14ce25e40b476f30
treecb99e937d9f0f11d74de75f22d4502d5de59b309
parent3f30177c9112792f3d1a1728b14335b94d70f9fd
wchar: fix inverted parameters in error message

The error message should output "fromcode -> tocode" rather than
"tocode -> fromcode".  Seems to be a typo due to the order of the func
called:
iconv_t iconv_open(const char *tocode, const char *fromcode);

Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
libc/misc/wchar/wchar.c