From c7b2c636e87514de323570b163c726194b2d0dba Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 9 Aug 2005 00:58:08 +0000 Subject: 2005-08-08 Roland McGrath * argp/argp-help.c (__argp_error): __asprintf -> vasprintf. (__argp_failure): Likewise. --- argp/argp-help.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'argp') diff --git a/argp/argp-help.c b/argp/argp-help.c index ee61ed4d5c..abd59c12f9 100644 --- a/argp/argp-help.c +++ b/argp/argp-help.c @@ -1766,7 +1766,7 @@ __argp_error (const struct argp_state *state, const char *fmt, ...) #ifdef _LIBC char *buf; - if (__asprintf (&buf, fmt, ap) < 0) + if (vasprintf (&buf, fmt, ap) < 0) buf = NULL; __fxprintf (stream, "%s: %s\n", @@ -1836,7 +1836,7 @@ __argp_failure (const struct argp_state *state, int status, int errnum, #ifdef _LIBC char *buf; - if (__asprintf (&buf, fmt, ap) < 0) + if (vasprintf (&buf, fmt, ap) < 0) buf = NULL; __fxprintf (stream, ": %s", buf); -- cgit 1.4.1