Revision 81442192
b/block-vmdk.c | ||
---|---|---|
572 | 572 |
if (!s->is_parent) { |
573 | 573 |
status = stat(s->hd->filename, &file_buf); |
574 | 574 |
if (status == -1) { |
575 |
fprintf(stderr, "(VMDK) Fail file stat: filename =%s size=0x%lx errno=%s\n", |
|
575 |
fprintf(stderr, "(VMDK) Fail file stat: filename =%s size=0x%llx errno=%s\n",
|
|
576 | 576 |
s->hd->filename, (uint64_t)file_buf.st_size, strerror(errno)); |
577 | 577 |
return 0; |
578 | 578 |
} |
... | ... | |
668 | 668 |
|
669 | 669 |
if (sector_num > bs->total_sectors) { |
670 | 670 |
fprintf(stderr, |
671 |
"(VMDK) Wrong offset: sector_num=0x%lx total_sectors=0x%lx\n",
|
|
671 |
"(VMDK) Wrong offset: sector_num=0x%llx total_sectors=0x%llx\n",
|
|
672 | 672 |
sector_num, bs->total_sectors); |
673 | 673 |
return -1; |
674 | 674 |
} |
Also available in: Unified diff