]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/consoles: TIOCGDEV code refactoring
authorKarel Zak <kzak@redhat.com>
Fri, 9 Nov 2012 11:18:31 +0000 (12:18 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 9 Nov 2012 11:18:31 +0000 (12:18 +0100)
commit6ea0921e16eeb94c591c994d71bb0a9ffcb4834e
tree9d43486117f57231847420d9d678fc6ba68e243c
parent4fcee23da592ab88c693131ffcf5659ab12e7661
lib/consoles: TIOCGDEV code refactoring

 - add missing scandev() otherwise TIOCGDEV make no sense
 - use this method independent on /proc/cmdline code

Signed-off-by: Karel Zak <kzak@redhat.com>
lib/consoles.c