Searched refs:tty_major (Results 1 – 1 of 1) sorted by relevance
917 int tty_major = 0, maj = dev_major(rdev), min = dev_minor(rdev); in get_ps() local920 while (fscanf(fp, "%*s %256s %d %*s %*s", buf, &tty_major) == 2) { in get_ps()922 if (tty_major == maj) { in get_ps()928 tty_major = 0; in get_ps()934 if (!tty_major) len = sprintf(buf, "%d:%d", maj, min); in get_ps()