2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
* cp-abi.c (set_cp_abi_as_auto_default): ARI fix: Replace xasprintf by xstrprintf. symfile-mem.c (add_vsyscall_page): Ditto.
This commit is contained in:
parent
501b79c1d2
commit
0dfdb8ba76
3 changed files with 9 additions and 3 deletions
|
@ -193,10 +193,10 @@ set_cp_abi_as_auto_default (const char *short_name)
|
|||
auto_cp_abi = *abi;
|
||||
|
||||
auto_cp_abi.shortname = "auto";
|
||||
xasprintf (&new_longname, "currently \"%s\"", abi->shortname);
|
||||
new_longname = xstrprintf ("currently \"%s\"", abi->shortname);
|
||||
auto_cp_abi.longname = new_longname;
|
||||
|
||||
xasprintf (&new_doc, "Automatically selected; currently \"%s\"",
|
||||
new_doc = xstrprintf ("Automatically selected; currently \"%s\"",
|
||||
abi->shortname);
|
||||
auto_cp_abi.doc = new_doc;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue