upstream: https://github.com/mirage/ocaml-mbr
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(fuzz): fix test name prefixes to match module names (E725)

+3 -3
+1 -1
bin/resize_partition.ml
··· 26 26 27 27 let new_partition partition start_sector sector_size new_size = 28 28 if new_size mod sector_size <> 0 then 29 - Printf.ksprintf failwith 29 + Fmt.failwith 30 30 "Partition cannot be resized. New size of %d bytes does not align to \ 31 31 sectors. New size must be a multiple of %d" 32 32 new_size sector_size
+2 -2
bin/write_partition.ml
··· 45 45 calculate_partition_info partition 46 46 in 47 47 if start_sector = 0 then 48 - Printf.ksprintf failwith 49 - "Writing to partition %d would overwrite the MBR header" partition_number; 48 + Fmt.failwith "Writing to partition %d would overwrite the MBR header" 49 + partition_number; 50 50 let ic, data_size = 51 51 match input_data with 52 52 | None -> (stdin, None)