summaryrefslogtreecommitdiffstats
path: root/src/msdos.c
diff options
context:
space:
mode:
authorAlex Henrie <alexhenrie24@gmail.com>2016-02-22 10:38:17 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2016-02-22 10:38:17 +0100
commitb9dc788eb633fa9e5c1f274f2dce6d1f1dd8ac75 (patch)
treea92a03a13b0bb7281e61f70006203dcd3ff6d948 /src/msdos.c
parent3fbf22ea46345c2faec5cd9f193fd656b28a93be (diff)
Improve English grammar, capitalization, and punctuation
Diffstat (limited to 'src/msdos.c')
-rw-r--r--src/msdos.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/msdos.c b/src/msdos.c
index d9abafc..0da66d7 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -309,17 +309,17 @@ static int hd_identify_enh_bios(disk_t *disk_car,const int verbose)
{
data->bad_geometry=1;
disk_car->geom.sectors_per_head=1;
- log_critical("Incorrect number of sector\n");
+ log_critical("Incorrect number of sectors\n");
}
if(disk_car->geom.sectors_per_head>63)
{
/* data->bad_geometry=1; */
- log_critical("Incorrect number of sector\n");
+ log_critical("Incorrect number of sectors\n");
}
if(disk_car->geom.heads_per_cylinder>255)
{
data->bad_geometry=1;
- log_critical("Incorrect number of head\n");
+ log_critical("Incorrect number of heads\n");
}
computed_size=(uint64_t)disk_car->geom.cylinders*disk_car->geom.heads_per_cylinder*disk_car->geom.sectors_per_head*disk_car->sector_size;
if(verbose>0 || data->bad_geometry!=0)
@@ -396,7 +396,7 @@ disk_t *hd_identify(const int verbose, const unsigned int disk, const int testdi
}
if(disk_car->geom.sectors_per_head==0)
{ /* Problem found by Brian Barrett */
- log_critical("BIOS reports an invalid number of sector per head\n");
+ log_critical("BIOS reports an invalid number of sectors per head\n");
data->bad_geometry=1;
disk_car->geom.sectors_per_head=1;
}