Revision 0bfcd599 block/qcow2.c
b/block/qcow2.c | ||
---|---|---|
93 | 93 |
#endif |
94 | 94 |
|
95 | 95 |
if (bdrv_pread(bs->file, offset, &ext, sizeof(ext)) != sizeof(ext)) { |
96 |
fprintf(stderr, "qcow_handle_extension: ERROR: pread fail from offset %llu\n", |
|
97 |
(unsigned long long)offset); |
|
96 |
fprintf(stderr, "qcow_handle_extension: ERROR: " |
|
97 |
"pread fail from offset %" PRIu64 "\n", |
|
98 |
offset); |
|
98 | 99 |
return 1; |
99 | 100 |
} |
100 | 101 |
be32_to_cpus(&ext.magic); |
... | ... | |
1245 | 1246 |
k++; |
1246 | 1247 |
while (k < nb_clusters && get_refcount(bs, k) == refcount) |
1247 | 1248 |
k++; |
1248 |
printf("%lld: refcount=%d nb=%lld\n", k, refcount, k - k1); |
|
1249 |
printf("%" PRId64 ": refcount=%d nb=%" PRId64 "\n", k, refcount, |
|
1250 |
k - k1); |
|
1249 | 1251 |
} |
1250 | 1252 |
} |
1251 | 1253 |
#endif |
Also available in: Unified diff