提交 e8829580 编写于 作者: D Daniel Veillard

* src/storage_backend_fs.c: fix a signed/unsigned issue breaking

  virStorageBackendProbeFile(), patch by Cole Robinson
Daniel
上级 a8d06007
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>
* 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,
virStorageVolDefPtr def) {
int fd;
char head[4096];
unsigned char head[4096];
int len, i, ret;
if ((fd = open(def->target.path, O_RDONLY)) < 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册