summaryrefslogtreecommitdiff
path: root/argp/argp-help.c
diff options
context:
space:
mode:
Diffstat (limited to 'argp/argp-help.c')
-rw-r--r--argp/argp-help.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/argp/argp-help.c b/argp/argp-help.c
index de709dff8f..fccc8335b8 100644
--- a/argp/argp-help.c
+++ b/argp/argp-help.c
@@ -1712,11 +1712,11 @@ __argp_error (const struct argp_state *state, const char *fmt, ...)
{
char *buf;
- asprintf (&buf, fmt, ap);
+ __asprintf (&buf, fmt, ap);
- fwprintf (stream, L"%s: %s\n",
- state ? state->name : program_invocation_short_name,
- buf);
+ __fwprintf (stream, L"%s: %s\n",
+ state ? state->name : program_invocation_short_name,
+ buf);
free (buf);
}
@@ -1787,9 +1787,9 @@ __argp_failure (const struct argp_state *state, int status, int errnum,
{
char *buf;
- asprintf (&buf, fmt, ap);
+ __asprintf (&buf, fmt, ap);
- fwprintf (stream, L": %s", buf);
+ __fwprintf (stream, L": %s", buf);
free (buf);
}
@@ -1811,8 +1811,8 @@ __argp_failure (const struct argp_state *state, int status, int errnum,
#ifdef USE_IN_LIBIO
if (_IO_fwide (stream, 0) > 0)
- fwprintf (stream, ": %s",
- __strerror_r (errnum, buf, sizeof (buf)));
+ __fwprintf (stream, ": %s",
+ __strerror_r (errnum, buf, sizeof (buf)));
else
#endif
{