summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/tools.c
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-12-20 13:13:35 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-12-20 13:13:35 +0000
commit7234d1b90c3a62740cf89931341cfb2d04ded1c0 (patch)
tree4ac8dc2fbd0da026a03f5fb13539afb7bfee2933 /mdk-stage1/tools.c
parent314a5cfc9ef55cc61cbb6ef3327a519e7c64f061 (diff)
downloaddrakx-backup-do-not-use-7234d1b90c3a62740cf89931341cfb2d04ded1c0.tar
drakx-backup-do-not-use-7234d1b90c3a62740cf89931341cfb2d04ded1c0.tar.gz
drakx-backup-do-not-use-7234d1b90c3a62740cf89931341cfb2d04ded1c0.tar.bz2
drakx-backup-do-not-use-7234d1b90c3a62740cf89931341cfb2d04ded1c0.tar.xz
drakx-backup-do-not-use-7234d1b90c3a62740cf89931341cfb2d04ded1c0.zip
create unset_automatic()
Diffstat (limited to 'mdk-stage1/tools.c')
-rw-r--r--mdk-stage1/tools.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mdk-stage1/tools.c b/mdk-stage1/tools.c
index 45cafcfad..6c47b193d 100644
--- a/mdk-stage1/tools.c
+++ b/mdk-stage1/tools.c
@@ -187,6 +187,12 @@ void unset_param(int i)
stage1_mode &= ~i;
}
+void unset_automatic(void)
+{
+ log_message("unsetting automatic");
+ unset_param(MODE_AUTOMATIC);
+}
+
// warning, many things rely on the fact that:
// - when failing it returns 0
// - it stops on first non-digit char