mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-09 04:28:32 -05:00
* src/storage_backend_fs.c: fix a signed/unsigned issue breaking
virStorageBackendProbeFile(), patch by Cole Robinson Daniel
This commit is contained in:
@@ -338,7 +338,7 @@ virStorageBackendFileSystemNetPoolFormatToString(virConnectPtr conn,
|
||||
static int virStorageBackendProbeFile(virConnectPtr conn,
|
||||
virStorageVolDefPtr def) {
|
||||
int fd;
|
||||
char head[4096];
|
||||
unsigned char head[4096];
|
||||
int len, i, ret;
|
||||
|
||||
if ((fd = open(def->target.path, O_RDONLY)) < 0) {
|
||||
|
||||
Reference in New Issue
Block a user