Home
last modified time | relevance | path

Searched refs:new_image (Results 1 – 1 of 1) sorted by relevance

/mirbsd/src/usr.sbin/makefs/cd9660/
Dcd9660_eltorito.c69 struct cd9660_boot_image *new_image, *tmp_image; in cd9660_add_boot_disk() local
100 if ((new_image = calloc(1, sizeof (*new_image))) == NULL) { in cd9660_add_boot_disk()
105 new_image->loadSegment = 0; /* default for now */ in cd9660_add_boot_disk()
109 new_image->system = ET_SYS_X86; in cd9660_add_boot_disk()
111 new_image->system = ET_SYS_PPC; in cd9660_add_boot_disk()
114 new_image->system = ET_SYS_MAC; in cd9660_add_boot_disk()
119 free(new_image); in cd9660_add_boot_disk()
124 if ((new_image->filename = strdup(filename)) == NULL) { in cd9660_add_boot_disk()
127 free(new_image); in cd9660_add_boot_disk()
134 if (lstat(new_image->filename, &stbuf) == -1) in cd9660_add_boot_disk()
[all …]