]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsfd: move the code for reading /proc/devices to lsfd.c
authorMasatake YAMATO <yamato@redhat.com>
Wed, 8 Dec 2021 14:02:45 +0000 (23:02 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Wed, 8 Dec 2021 15:35:07 +0000 (00:35 +0900)
commit3c0074005bbe3401131298e933ce1b787a895de2
treea043b39a92bb26692060290f0e0c912b336ffe14
parent35c138e43dba41f4ebe58c6d24d494cd20c2d9a7
lsfd: move the code for reading /proc/devices to lsfd.c

The original code is only for reading the names of character device
drivers. For making the code reusable in reading that of block device
drivers, rearrange the code an move it to the common area, lsfd.c.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
misc-utils/lsfd-cdev.c
misc-utils/lsfd.c