Searched refs:alloc_root (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/grub/grub2/util/
H A Dgrub-fstest.c645 char *default_root, *alloc_root; local
663 alloc_root = 0;
668 alloc_root = xmalloc (strlen (default_root) + strlen (root) + 2);
670 sprintf (alloc_root, "%s,%s", default_root, root);
671 root = alloc_root;
679 if (alloc_root)
680 free (alloc_root);
H A Dgrub-mount.c508 char *default_root, *alloc_root; local
538 alloc_root = 0;
543 alloc_root = xmalloc (strlen (default_root) + strlen (root) + 2);
545 sprintf (alloc_root, "%s,%s", default_root, root);
546 root = alloc_root;
554 if (alloc_root)
555 free (alloc_root);

Completed in 23 milliseconds