summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/rescue-gui.c
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-07-05 14:21:15 +0000
committerOlivier Blin <oblin@mandriva.com>2007-07-05 14:21:15 +0000
commit94fa1f6ef58e053b254579bbffb2302671495c84 (patch)
treebfe3f6b80fd347c50372726c5cb2a3467e93f30c /mdk-stage1/rescue-gui.c
parent906e93d480d8b77aac8ce4b3837ab55b3b496d2d (diff)
downloaddrakx-94fa1f6ef58e053b254579bbffb2302671495c84.tar
drakx-94fa1f6ef58e053b254579bbffb2302671495c84.tar.gz
drakx-94fa1f6ef58e053b254579bbffb2302671495c84.tar.bz2
drakx-94fa1f6ef58e053b254579bbffb2302671495c84.tar.xz
drakx-94fa1f6ef58e053b254579bbffb2302671495c84.zip
link rescue-gui with params (prepare next commits)
Diffstat (limited to 'mdk-stage1/rescue-gui.c')
-rw-r--r--mdk-stage1/rescue-gui.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mdk-stage1/rescue-gui.c b/mdk-stage1/rescue-gui.c
index f0d24d56a..77113354b 100644
--- a/mdk-stage1/rescue-gui.c
+++ b/mdk-stage1/rescue-gui.c
@@ -59,6 +59,12 @@ static void PAUSE(void) {
/* ------ UUURGH this is duplicated from `init.c', don't edit here........ */
+void fatal_error(char *msg)
+{
+ printf("FATAL ERROR IN RESCUE: %s\n\nI can't recover from this.\nYou may reboot your system.\n", msg);
+ while (1);
+}
+
static inline _syscall3(int, reboot, int, magic, int, magic2, int, flag);
#define LOOP_CLR_FD 0x4C01
void del_loop(char *device)
@@ -152,6 +158,7 @@ void unmount_filesystems(void)
/* ------ UUURGH -- this is dirrrrrttttyyyyyy */
void probe_that_type(void) {}
+void exit_bootsplash(void) {}
int main(int argc __attribute__ ((unused)), char **argv __attribute__ ((unused)))