]> err.no Git - util-linux/commit
lib: fix blkdev_find_size()
authorKarel Zak <kzak@redhat.com>
Tue, 16 Mar 2010 16:31:39 +0000 (17:31 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 16 Mar 2010 16:31:39 +0000 (17:31 +0100)
commitabbd79ac35ca4ad65f2bba55288652db907a514e
tree69fdc8f21d8b9530da05f4cbf704f21657becd68
parentb8d22034f1b393a48ce7af9e15d910bf0e29df0b
lib: fix blkdev_find_size()

echo l | fdisk/fdisk /dev/zero

FYI that however now spins forever doing:

offset=3074457345618258603)
    at ../lib/blkdev.c:31
    at ../lib/blkdev.c:151
    at ../lib/blkdev.c:161

Reported-by: Pádraig Brady <P@draigBrady.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
lib/blkdev.c