Properly check VESA video mode number.

This commit is contained in:
jkim 2012-02-16 22:33:53 +00:00
parent faa9b15d4e
commit d6ff96837a

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);