Rename asprint into xasprintf and avsprintf into xvasprintf

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-01-20 09:12:47 +01:00
parent adb893f2ae
commit 61eb45eee7
55 changed files with 79 additions and 79 deletions

View file

@ -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");