mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-26 18:41:17 +00:00
* src/storage_backend_fs.c: fix a signed/unsigned issue breaking
virStorageBackendProbeFile(), patch by Cole Robinson Daniel
This commit is contained in:
parent
a8d0600762
commit
e88295804a
@ -1,3 +1,8 @@
|
|||||||
|
Thu Sep 4 15:33:26 CEST 2008 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
|
* src/storage_backend_fs.c: fix a signed/unsigned issue breaking
|
||||||
|
virStorageBackendProbeFile(), patch by Cole Robinson
|
||||||
|
|
||||||
Thu Sep 4 15:18:00 CEST 2008 Daniel Veillard <veillard@redhat.com>
|
Thu Sep 4 15:18:00 CEST 2008 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
* src/qemu_driver.c: fix an error message, patch by Nguyen Anh Quynh
|
* src/qemu_driver.c: fix an error message, patch by Nguyen Anh Quynh
|
||||||
|
@ -338,7 +338,7 @@ virStorageBackendFileSystemNetPoolFormatToString(virConnectPtr conn,
|
|||||||
static int virStorageBackendProbeFile(virConnectPtr conn,
|
static int virStorageBackendProbeFile(virConnectPtr conn,
|
||||||
virStorageVolDefPtr def) {
|
virStorageVolDefPtr def) {
|
||||||
int fd;
|
int fd;
|
||||||
char head[4096];
|
unsigned char head[4096];
|
||||||
int len, i, ret;
|
int len, i, ret;
|
||||||
|
|
||||||
if ((fd = open(def->target.path, O_RDONLY)) < 0) {
|
if ((fd = open(def->target.path, O_RDONLY)) < 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user