summaryrefslogtreecommitdiffstats
path: root/libvo/vo_vesa.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_vesa.c')
-rw-r--r--libvo/vo_vesa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_vesa.c b/libvo/vo_vesa.c
index 8b68e38635..8b7ad638a3 100644
--- a/libvo/vo_vesa.c
+++ b/libvo/vo_vesa.c
@@ -185,7 +185,7 @@ static inline void __vbeSwitchBank(unsigned long offset)
vesa_term();
PRINT_VBE_ERR("vbeSetWindow",err);
printf("vo_vesa: Fatal error occured! Can't continue\n");
- exit(-1);
+ abort();
}
win.low = new_offset * gran;
win.high = win.low + video_mode_info.WinSize*1024;
@@ -387,7 +387,7 @@ static void flip_page(void)
vesa_term();
PRINT_VBE_ERR("vbeSetDisplayStart",err);
printf("vo_vesa: Fatal error occured! Can't continue\n");
- exit(EXIT_FAILURE);
+ abort();
}
multi_idx = multi_idx ? 0 : 1;
win.ptr = dga_buffer = video_base + multi_buff[multi_idx];