Searched defs:temp_grub (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_utils.c1522 char *temp_grub; local
1609 if ((temp_grub = (char *)malloc(temp_grub_len)) == NULL) {
1615 (void) memset(temp_grub, 0, temp_grub_len);
1616 (void) strlcpy(temp_grub, grub_file, temp_grub_len);
1617 (void) strlcat(temp_grub, "XXXXXX", temp_grub_len);
1618 if ((fd = mkstemp(temp_grub)) == -1) {
1623 free(temp_grub);
1624 temp_grub = NULL;
1631 temp_grub, strerror(err));
1687 if (rename(temp_grub, grub_fil
[all...]

Completed in 49 milliseconds