mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 06:50:22 +03:00
maint: update to latest gnulib
* .gnulib: Update to latest, for at least a stdint.h fix * src/storage/storage_driver.c (storageVolumeZeroSparseFile) (storageWipeExtent): Use better type, although it still triggers spurious -Wformat warning on MacOS's gcc.
This commit is contained in:
parent
e3cb5a26d2
commit
8f636752b1
2
.gnulib
2
.gnulib
@ -1 +1 @@
|
||||
Subproject commit 48b1a1ae7d5b0f1494aabd4c8a02fbfcec531026
|
||||
Subproject commit 64911207854610668b480939469282fdaeb96f74
|
@ -1575,7 +1575,7 @@ storageVolumeZeroSparseFile(virStorageVolDefPtr vol,
|
||||
virReportSystemError(errno,
|
||||
_("Failed to truncate volume with "
|
||||
"path '%s' to %ju bytes"),
|
||||
vol->target.path, (intmax_t)size);
|
||||
vol->target.path, (uintmax_t)size);
|
||||
}
|
||||
|
||||
out:
|
||||
@ -1597,13 +1597,13 @@ storageWipeExtent(virStorageVolDefPtr vol,
|
||||
size_t write_size = 0;
|
||||
|
||||
VIR_DEBUG("extent logical start: %ju len: %ju",
|
||||
(intmax_t)extent_start, (intmax_t)extent_length);
|
||||
(uintmax_t)extent_start, (uintmax_t)extent_length);
|
||||
|
||||
if ((ret = lseek(fd, extent_start, SEEK_SET)) < 0) {
|
||||
virReportSystemError(errno,
|
||||
_("Failed to seek to position %ju in volume "
|
||||
"with path '%s'"),
|
||||
(intmax_t)extent_start, vol->target.path);
|
||||
(uintmax_t)extent_start, vol->target.path);
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user