add missing return to new line at the end of LBA48 support message

Search for backup partition when EFI GPT is selected
This commit is contained in:
Christophe Grenier 2015-04-14 07:56:21 +02:00
parent 16a9207d66
commit 6f3aed396c

View file

@ -309,7 +309,7 @@ static int interface_part_bad_log(disk_t *disk_car, list_part_t *list_part)
#if defined(__CYGWIN__) || defined(__MINGW32__) #if defined(__CYGWIN__) || defined(__MINGW32__)
if(disk_car->disk_size<=((uint64_t)1<<(28-1)) && disk_size>=((uint64_t)1<<(28-1))) if(disk_car->disk_size<=((uint64_t)1<<(28-1)) && disk_size>=((uint64_t)1<<(28-1)))
{ {
log_warning("Hint: update Windows to support LBA48 (minimum: W2K SP4 or XP SP1)"); log_warning("Hint: update Windows to support LBA48 (minimum: W2K SP4 or XP SP1)\n");
} }
#endif #endif
{ {
@ -686,6 +686,7 @@ static list_part_t *search_part(disk_t *disk_car, const list_part_t *list_part_o
((start.sector==7 && (start.head<=2 || fast_mode>1)) || ((start.sector==7 && (start.head<=2 || fast_mode>1)) ||
search_location%(2048*512)==(7-1)*512)) || search_location%(2048*512)==(7-1)*512)) ||
(disk_car->arch!=&arch_i386 && (search_location%location_boundary==(7-1)*512)) || (disk_car->arch!=&arch_i386 && (search_location%location_boundary==(7-1)*512)) ||
(disk_car->arch==&arch_gpt&& (search_location%(2048*512)==(7-1)*512)) ||
(disk_car->arch==&arch_none && search_location==(7-1)*512)) (disk_car->arch==&arch_none && search_location==(7-1)*512))
res=search_FAT_backup(buffer_disk,disk_car,partition,verbose,dump_ind); res=search_FAT_backup(buffer_disk,disk_car,partition,verbose,dump_ind);
test_nbr++; test_nbr++;
@ -695,6 +696,7 @@ static list_part_t *search_part(disk_t *disk_car, const list_part_t *list_part_o
if((disk_car->arch==&arch_i386 && if((disk_car->arch==&arch_i386 &&
((start.sector==13 && (start.head<=2 || fast_mode>1)) || ((start.sector==13 && (start.head<=2 || fast_mode>1)) ||
search_location%(2048*512)==(13-1)*disk_car->sector_size)) || search_location%(2048*512)==(13-1)*disk_car->sector_size)) ||
(disk_car->arch==&arch_gpt&& (search_location%(2048*512)==(13-1)*512)) ||
(disk_car->arch!=&arch_i386 && (search_location%location_boundary==(13-1)*disk_car->sector_size))) (disk_car->arch!=&arch_i386 && (search_location%location_boundary==(13-1)*disk_car->sector_size)))
res=search_EXFAT_backup(buffer_disk, disk_car, partition); res=search_EXFAT_backup(buffer_disk, disk_car, partition);
test_nbr++; test_nbr++;
@ -705,6 +707,7 @@ static list_part_t *search_part(disk_t *disk_car, const list_part_t *list_part_o
((start.sector==disk_car->geom.sectors_per_head && ((start.sector==disk_car->geom.sectors_per_head &&
(start.head==disk_car->geom.heads_per_cylinder-1 || fast_mode>1)) || (start.head==disk_car->geom.heads_per_cylinder-1 || fast_mode>1)) ||
search_location%(2048*512)==(2048-1)*512)) || search_location%(2048*512)==(2048-1)*512)) ||
(disk_car->arch==&arch_gpt&& (search_location%(2048*512)==(2048-1)*512)) ||
(disk_car->arch!=&arch_i386 && search_location%location_boundary==(location_boundary-512) && (disk_car->arch!=&arch_i386 && search_location%location_boundary==(location_boundary-512) &&
search_location>0)) search_location>0))
res=search_NTFS_backup(buffer_disk,disk_car,partition,verbose,dump_ind); res=search_NTFS_backup(buffer_disk,disk_car,partition,verbose,dump_ind);