summaryrefslogtreecommitdiff
path: root/extras/volume_id/vol_id.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-09-14 14:29:59 +0200
committerKay Sievers <kay.sievers@suse.de>2005-09-14 14:29:59 +0200
commit726b21604aa5132090a6be1068da7f58069849ab (patch)
tree68ce92f439baf56983383a4a6b2d3e40a99e1e97 /extras/volume_id/vol_id.c
parent129979643f5ae0363cef23978bce5d546be2f77d (diff)
volume_id: fix error handling with failing read()
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'extras/volume_id/vol_id.c')
-rw-r--r--extras/volume_id/vol_id.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/volume_id/vol_id.c b/extras/volume_id/vol_id.c
index 3c75bdaa2f..2b53085c72 100644
--- a/extras/volume_id/vol_id.c
+++ b/extras/volume_id/vol_id.c
@@ -145,6 +145,7 @@ int main(int argc, char *argv[])
if (ioctl(vid->fd, BLKGETSIZE64, &size) != 0)
size = 0;
+ dbg("BLKGETSIZE64=%llu", size);
if (volume_id_probe_all(vid, 0, size) == 0)
goto print;