diff options
Diffstat (limited to 'monitor-get-edid-using-vbe.c')
-rw-r--r-- | monitor-get-edid-using-vbe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor-get-edid-using-vbe.c b/monitor-get-edid-using-vbe.c index 822820a..79fb0c3 100644 --- a/monitor-get-edid-using-vbe.c +++ b/monitor-get-edid-using-vbe.c @@ -54,7 +54,7 @@ int main(int argc, char **argv) int fd = open("/dev/console", O_RDWR); if (ioctl(fd, VT_GETSTATE, ¤t) == 0 && - current.v_state >= first_X_console && + current.v_active >= first_X_console && ioctl(fd, VT_ACTIVATE, non_X_console) == 0 && ioctl(fd, VT_WAITACTIVE, non_X_console) == 0) { /* retrying */ |