diff --git a/tool/convert.c b/tool/convert.c index 767d06f..32cf70a 100644 --- a/tool/convert.c +++ b/tool/convert.c @@ -101,7 +101,7 @@ int convert(char *input_path, char *output_path) } // Write sector to output - res = aaruf_write_sector(output_ctx, sector, sector_data, 0, read_length); + res = aaruf_write_sector(output_ctx, sector, sector_data, SectorStatusDumped, read_length); if(res != AARUF_STATUS_OK) { printf("\nError %d when writing sector %llu to output image.\n", res, (unsigned long long)sector);