Home
last modified time | relevance | path

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

/netbsd-src/external/gpl2/mkhybrid/dist/
H A Dmac_label.c29 gen_mac_label(defer *mac_boot) in gen_mac_label() argument
44 if (mac_boot->name) { in gen_mac_label()
45 if (stat(mac_boot->name, &stat_buf) < 0) { in gen_mac_label()
47 "unable to stat HFS boot file %s", mac_boot->name); in gen_mac_label()
52 if ((fp = fopen(mac_boot->name, "rb")) == NULL) { in gen_mac_label()
54 "unable to open HFS boot file %s", mac_boot->name); in gen_mac_label()
60 "unable to read HFS boot file %s", mac_boot->name); in gen_mac_label()
70 mac_boot->name); in gen_mac_label()
78 "unable to seek HFS boot file %s", mac_boot->name); in gen_mac_label()
85 "unable to read HFS boot block %s", mac_boot->name); in gen_mac_label()
[all …]
H A Dwrite.c177 static struct deferred_write mac_boot; variable
1251 if (mac_boot.name) in FDECL1()
1252 write_one_file(mac_boot.name, mac_boot.size, outfile, mac_boot.off); in FDECL1()
1571 mac_boot.name = hfs_boot_file; in file_gen()
1576 if (gen_mac_label(&mac_boot)) { in file_gen()