Comment 55 for bug 544139

Revision history for this message
Lennie (lbesselink) wrote :

Yes, it's this one that failed:

res = ioctl (console_fd, VT_GETSTATE, &stat);

Interresting, it would have done:

kb_ok = (ioctl (fd, VT_GETSTATE, &vts) == 0);

just moments before that in ck_fd_is_a_console

I wonder...