SHARE
TWEET

Untitled

a guest Jan 21st, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- src/hd/kbd.c.old    2010-03-15 23:37:52.000000000 +0800
  2. +++ src/hd/kbd.c    2010-03-22 10:50:58.000000000 +0800
  3. @@ -146,11 +146,13 @@
  4.    }
  5.  
  6.    if(!dev && (fd = open(DEV_CONSOLE, O_RDWR | O_NONBLOCK | O_NOCTTY)) >= 0) {
  7. +    /* Removing since TIOCGDEV is not supported by the mainline kernel
  8.      if(ioctl(fd, TIOCGDEV, &u) != -1) {
  9.        tty_major = (u >> 8) & 0xfff;
  10.        tty_minor = (u & 0xff) | ((u >> 12) & 0xfff00);
  11.        ADD2LOG(DEV_CONSOLE ": major %u, minor %u\n", tty_major, tty_minor);
  12.      }
  13. +    */
  14.  
  15.      if (0)
  16.         ;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top