Home
last modified time | relevance | path

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

/openbsd-src/gnu/usr.sbin/mkhybrid/src/
H A Dmac_label.c31 gen_mac_label(defer *mac_boot) in gen_mac_label() argument
46 if (mac_boot->name) { in gen_mac_label()
47 if (stat(mac_boot->name, &stat_buf) < 0) { in gen_mac_label()
49 "unable to stat HFS boot file %s", mac_boot->name); in gen_mac_label()
54 if ((fp = fopen(mac_boot->name, "rb")) == NULL) { in gen_mac_label()
56 "unable to open HFS boot file %s", mac_boot->name); in gen_mac_label()
62 "unable to read HFS boot file %s", mac_boot->name); in gen_mac_label()
72 mac_boot->name); in gen_mac_label()
80 "unable to seek HFS boot file %s", mac_boot->name); in gen_mac_label()
87 "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()