]> git.ipfire.org Git - thirdparty/util-linux.git/commit
sulogin: use dirent->d_type when scans /dev
authorKarel Zak <kzak@redhat.com>
Tue, 12 Nov 2013 11:26:13 +0000 (12:26 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 12 Nov 2013 11:26:13 +0000 (12:26 +0100)
commit3deb67f50d513a1a74a62e8e248357e844e701a2
treec0a4b4fd8caf64f628ddc5bf974ad97687dc6b34
parentd8a9b907563ee1ee195d1d5afc2d624dba5f33d0
sulogin: use dirent->d_type when scans /dev

... it's more effective than call fstatat() for all device.

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