2004-06-26 Andrew Cagney <cagney@gnu.org>
[deliverable/binutils-gdb.git] / gdb / aix-thread.c
index 05493ae0f9885eb7b9c22083df0f64735fc3e866..e5e8a9aac4ea4fbd3ab70d6d0daaaa0a9c3736c5 100644 (file)
@@ -1629,10 +1629,10 @@ aix_thread_pid_to_str (ptid_t ptid)
     return base_target.to_pid_to_str (ptid);
 
   /* Free previous return value; a new one will be allocated by
-     xasprintf().  */
+     xstrprintf().  */
   xfree (ret);
 
-  xasprintf (&ret, "Thread %ld", ptid_get_tid (ptid));
+  ret = xstrprintf ("Thread %ld", ptid_get_tid (ptid));
   return ret;
 }
 
This page took 0.031973 seconds and 4 git commands to generate.