Rename asprint into xasprintf and avsprintf into xvasprintf
This commit is contained in:
parent
adb893f2ae
commit
61eb45eee7
55 changed files with 79 additions and 79 deletions
|
@ -252,11 +252,11 @@ grub_multiboot (int argc, char *argv[])
|
|||
{
|
||||
char *buf;
|
||||
if (header->depth && header->width && header->height)
|
||||
buf = grub_asprintf ("%dx%dx%d,%dx%d,auto", header->width,
|
||||
buf = grub_xasprintf ("%dx%dx%d,%dx%d,auto", header->width,
|
||||
header->height, header->depth, header->width,
|
||||
header->height);
|
||||
else if (header->width && header->height)
|
||||
buf = grub_asprintf ("%dx%d,auto", header->width, header->height);
|
||||
buf = grub_xasprintf ("%dx%d,auto", header->width, header->height);
|
||||
else
|
||||
buf = grub_strdup ("auto");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue