summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/tools.c
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2004-10-13 06:39:38 +0000
committerAntoine Ginies <aginies@mandriva.com>2004-10-13 06:39:38 +0000
commit536f4e80aa75e99ba38e9f3037f169336ad10f61 (patch)
tree763ce5183ecbe1f05b1feb5a6680b480973aab11 /mdk-stage1/tools.c
parent6cc57924776dd164351f363ba48f4c453792ba62 (diff)
downloaddrakx-536f4e80aa75e99ba38e9f3037f169336ad10f61.tar
drakx-536f4e80aa75e99ba38e9f3037f169336ad10f61.tar.gz
drakx-536f4e80aa75e99ba38e9f3037f169336ad10f61.tar.bz2
drakx-536f4e80aa75e99ba38e9f3037f169336ad10f61.tar.xz
drakx-536f4e80aa75e99ba38e9f3037f169336ad10f61.zip
add new installation method (ka)
Diffstat (limited to 'mdk-stage1/tools.c')
-rw-r--r--mdk-stage1/tools.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mdk-stage1/tools.c b/mdk-stage1/tools.c
index dbbd45772..59d4a1ddf 100644
--- a/mdk-stage1/tools.c
+++ b/mdk-stage1/tools.c
@@ -228,7 +228,8 @@ int ramdisk_possible(void)
}
-enum return_type copy_file(char * from, char * to, void (*callback_func)(int overall))
+
+ enum return_type copy_file(char * from, char * to, void (*callback_func)(int overall))
{
FILE * f_from, * f_to;
size_t quantity __attribute__((aligned(16))), overall = 0;
@@ -276,7 +277,7 @@ enum return_type copy_file(char * from, char * to, void (*callback_func)(int ove
return ret;
}
-static void save_stuff_for_rescue(void)
+void save_stuff_for_rescue(void)
{
copy_file("/etc/resolv.conf", STAGE2_LOCATION "/etc/resolv.conf", NULL);
}