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:
Eric Blake 2010-12-07 17:31:14 -07:00
parent e3cb5a26d2
commit 8f636752b1
2 changed files with 4 additions and 4 deletions

@ -1 +1 @@
Subproject commit 48b1a1ae7d5b0f1494aabd4c8a02fbfcec531026
Subproject commit 64911207854610668b480939469282fdaeb96f74

View File

@ -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;
}