diff options
Diffstat (limited to 'gcc/gimple-pretty-print.c')
-rw-r--r-- | gcc/gimple-pretty-print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gimple-pretty-print.c b/gcc/gimple-pretty-print.c index a7a5d00dc2e..49cc80c57d7 100644 --- a/gcc/gimple-pretty-print.c +++ b/gcc/gimple-pretty-print.c @@ -89,7 +89,7 @@ dump_probability (int value) return "[0.01%]"; char *buf; - asprintf (&buf, "[%.2f%%]", fvalue); + buf = xasprintf ("[%.2f%%]", fvalue); const char *ret = xstrdup_for_dump (buf); free (buf); |