diff options
author | Karel Zak <kzak@redhat.com> | 2007-11-07 20:59:28 +0100 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2007-11-07 20:59:28 +0100 |
commit | bc8b63833e499e82fc058ff6e93ba61755e2cbb3 (patch) | |
tree | e476131b00e5adc84fffbd79e88157bde1bdb6c0 /disk-utils/Makefile.am | |
parent | 810f986b42ff7ecc805d134ef32013c3343df31e (diff) | |
download | util-linux-old-bc8b63833e499e82fc058ff6e93ba61755e2cbb3.tar.gz |
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>
Diffstat (limited to 'disk-utils/Makefile.am')
-rw-r--r-- | disk-utils/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/disk-utils/Makefile.am b/disk-utils/Makefile.am index 7042aeed..9ee98574 100644 --- a/disk-utils/Makefile.am +++ b/disk-utils/Makefile.am @@ -8,6 +8,7 @@ fsck_minix_SOURCES = fsck.minix.c bitops.h minix.h mkfs_minix_SOURCES = mkfs.minix.c bitops.h minix.h mkfs_bfs_SOURCES = mkfs.bfs.c mkswap_SOURCES = mkswap.c swapheader.h ../lib/linux_version.c ../lib/blkdev.c +blockdev_SOURCES = blockdev.c ../lib/linux_version.c ../lib/blkdev.c usrbinexec_PROGRAMS = fdformat isosize |