diff options
Diffstat (limited to 'gdb/solib-aix5.c')
-rw-r--r-- | gdb/solib-aix5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib-aix5.c b/gdb/solib-aix5.c index 1a8c9df..54b1199 100644 --- a/gdb/solib-aix5.c +++ b/gdb/solib-aix5.c @@ -193,7 +193,7 @@ build_so_list_from_mapfile (int pid, long match_mask, long match_val) /* Open the map file */ - xasprintf (&map_pathname, "/proc/%d/map", pid); + map_pathname = xstrprintf ("/proc/%d/map", pid); map_fd = open (map_pathname, O_RDONLY); xfree (map_pathname); if (map_fd < 0) |