Properly check VESA video mode number.
This commit is contained in:
parent
a7f8112403
commit
60474b7b97
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user