Properly check VESA video mode number.

This commit is contained in:
Jung-uk Kim 2012-02-16 22:33:53 +00:00
parent a7f8112403
commit 60474b7b97

View File

@ -126,7 +126,7 @@ struct vesa_mode
#ifdef _KERNEL
#define VESA_MODE(x) ((x) >= M_VESA_BASE)
#define VESA_MODE(x) ((x) >= M_VESA_BASE && (x) <= M_VESA_MODE_MAX)
int vesa_load_ioctl(void);
int vesa_unload_ioctl(void);