summaryrefslogtreecommitdiff
path: root/com32/chain
diff options
context:
space:
mode:
authorMichal Soltys <soltys@ziu.info>2011-03-08 01:43:01 +0100
committerMichal Soltys <soltys@ziu.info>2011-03-08 01:43:01 +0100
commite63b3ed60d172ab751300bcf9b620bee33e92451 (patch)
treeac5ba197bcaa87c9ac72ab8d400bd691cb19bc49 /com32/chain
parentc17f033db7c558530b4805dad29c4be3585eed60 (diff)
downloadsyslinux-e63b3ed60d172ab751300bcf9b620bee33e92451.tar.gz
com32/chain: option rename: mbrchs -> fixchs
Signed-off-by: Michal Soltys <soltys@ziu.info>
Diffstat (limited to 'com32/chain')
-rw-r--r--com32/chain/mangle.c2
-rw-r--r--com32/chain/options.c10
-rw-r--r--com32/chain/options.h2
3 files changed, 7 insertions, 7 deletions
diff --git a/com32/chain/mangle.c b/com32/chain/mangle.c
index 1dea116d..0aece16c 100644
--- a/com32/chain/mangle.c
+++ b/com32/chain/mangle.c
@@ -577,7 +577,7 @@ int manglepe_fixchs(struct part_iter *miter)
struct disk_dos_part_entry *dp;
int ridx;
- if (!opt.mbrchs)
+ if (!opt.fixchs)
return 0;
if (miter->type != typedos) {
diff --git a/com32/chain/options.c b/com32/chain/options.c
index 18960628..7d850619 100644
--- a/com32/chain/options.c
+++ b/com32/chain/options.c
@@ -82,7 +82,7 @@ Usage:\n\
hideall Hide *all* partitions, unhide selected partition\n\
unhide Unhide primary partitions\n\
unhideall Unhide *all* partitions\n\
- nombrchs Walk *all* partitions and fix E/MBRs' chs values\n\
+ nofixchs Walk *all* partitions and fix E/MBRs' chs values\n\
nokeeppxe Keep the PXE and UNDI stacks in memory (PXELINUX)\n\
nowarn Wait for a keypress to continue chainloading\n\
- useful to see emited warnings\n\
@@ -277,10 +277,10 @@ int opt_parse_args(int argc, char *argv[])
opt.save = true;
} else if (!strcmp(argv[i], "nosave")) {
opt.save = false;
- } else if (!strcmp(argv[i], "mbrchs")) {
- opt.mbrchs = true;
- } else if (!strcmp(argv[i], "nombrchs")) {
- opt.mbrchs = false;
+ } else if (!strcmp(argv[i], "fixchs")) {
+ opt.fixchs = true;
+ } else if (!strcmp(argv[i], "nofixchs")) {
+ opt.fixchs = false;
} else if (!strcmp(argv[i], "warn")) {
opt.warn = true;
} else if (!strcmp(argv[i], "nowarn")) {
diff --git a/com32/chain/options.h b/com32/chain/options.h
index 17c6a739..2e60f2c5 100644
--- a/com32/chain/options.h
+++ b/com32/chain/options.h
@@ -30,7 +30,7 @@ struct options {
bool bss;
bool setbpb;
bool filebpb;
- bool mbrchs;
+ bool fixchs;
bool warn;
bool chain;
uint16_t keeppxe;