1
0
mirror of https://sourceware.org/git/glibc.git synced 2026-01-06 11:51:29 +03:00
* argp/argp-help.c: Fix two problems introduced in last change.
This commit is contained in:
Ulrich Drepper
2001-08-20 19:55:53 +00:00
parent 0028f16e8a
commit 29f0517d46
3 changed files with 819 additions and 723 deletions

View File

@@ -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