Searched refs:boot_code (Results 1 – 1 of 1) sorted by relevance
168 char *boot_code; in do_install() local185 boot_code = malloc(boot_size); in do_install()186 if (boot_code == NULL) in do_install()188 memset(boot_code, 0, boot_size); in do_install()191 len = read(fd, boot_code, bootstrapsb.st_size); in do_install()211 free(boot_code); in do_install()222 len = pwrite(fd, boot_code, boot_size, BOOTBLOCK_OFFSET); in do_install()223 free(boot_code); in do_install()