]> err.no Git - util-linux/commit
blockdev: use lib/blkdev.c, fix --report
authorKarel Zak <kzak@redhat.com>
Wed, 7 Nov 2007 19:59:28 +0000 (20:59 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 7 Nov 2007 19:59:28 +0000 (20:59 +0100)
commitbc8b63833e499e82fc058ff6e93ba61755e2cbb3
treee476131b00e5adc84fffbd79e88157bde1bdb6c0
parent810f986b42ff7ecc805d134ef32013c3343df31e
blockdev: use lib/blkdev.c, fix --report

This patch replaces duplicate code with blkdev_ functions from
lib/blkdev.c.

The patch also fix the output from "blockdev --report". The Size field
was in 512-byte sectors instead in real size in bytes.

Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/Makefile.am
disk-utils/blockdev.c