| 110 | #endif |
| 111 | |
| 112 | static void ntfs_dump(disk_t *disk_car, const partition_t *partition, const unsigned char *orgboot, const unsigned char *newboot, char **current_cmd) |
| 113 | { |
| 114 | log_info(" Rebuild Boot sector Boot sector\n"); |
| 115 | dump2_log(newboot, orgboot, NTFS_SECTOR_SIZE); |
| 116 | if(current_cmd==NULL || *current_cmd==NULL) |
| 117 | { |
| 118 | #ifdef HAVE_NCURSES |
| 119 | ntfs_dump_ncurses(disk_car, partition, orgboot, newboot); |
| 120 | #endif |
| 121 | } |
| 122 | } |
| 123 | |
| 124 | static void ntfs_write_boot_sector(disk_t *disk, partition_t *partition, const unsigned char *newboot) |
| 125 | { |
no test coverage detected