diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-09-14 14:29:59 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-09-14 14:29:59 +0200 |
commit | 726b21604aa5132090a6be1068da7f58069849ab (patch) | |
tree | 68ce92f439baf56983383a4a6b2d3e40a99e1e97 /extras/volume_id/vol_id.c | |
parent | 129979643f5ae0363cef23978bce5d546be2f77d (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.c | 1 |
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; |