diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-08-20 19:55:53 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-08-20 19:55:53 +0000 |
commit | 29f0517d466970022c64994257c6cdfc70ccb604 (patch) | |
tree | 71ec1f704fce4fa0f21a40a4512e68cb79d4dd8b /argp | |
parent | Update. (diff) | |
download | glibc-29f0517d466970022c64994257c6cdfc70ccb604.tar.gz glibc-29f0517d466970022c64994257c6cdfc70ccb604.tar.bz2 glibc-29f0517d466970022c64994257c6cdfc70ccb604.zip |
Update.
* argp/argp-help.c: Fix two problems introduced in last change.
Diffstat (limited to 'argp')
-rw-r--r-- | argp/argp-help.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/argp/argp-help.c b/argp/argp-help.c index fccc8335b8..e51825c28b 100644 --- a/argp/argp-help.c +++ b/argp/argp-help.c @@ -1768,9 +1768,8 @@ __argp_failure (const struct argp_state *state, int status, int errnum, #ifdef USE_IN_LIBIO if (_IO_fwide (stream, 0) > 0) - fputws_unlocked (state - ? state->name : program_invocation_short_name, - stream); + __fwprintf (stream, L"%s", + state ? state->name : program_invocation_short_name); else #endif fputs_unlocked (state @@ -1811,7 +1810,7 @@ __argp_failure (const struct argp_state *state, int status, int errnum, #ifdef USE_IN_LIBIO if (_IO_fwide (stream, 0) > 0) - __fwprintf (stream, ": %s", + __fwprintf (stream, L": %s", __strerror_r (errnum, buf, sizeof (buf))); else #endif |