Add variable initialization missed by me and clang.

Reported by:	grehan
MFC after:	2 weeks
This commit is contained in:
Alexander Motin 2015-03-05 20:29:18 +00:00
parent 371f1d88b6
commit f5f4836d62
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=279675

View File

@ -217,6 +217,7 @@ pci_vtblk_proc(struct pci_vtblk_softc *sc, struct vqueue_info *vq)
DPRINTF(("virtio-block: %s op, %d bytes, %d segs, offset %ld\n\r",
writeop ? "write" : "read/ident", iolen, i - 1, offset));
err = 0;
switch (type) {
case VBH_OP_WRITE:
if (pwritev(sc->vbsc_fd, iov + 1, i - 1, offset) < 0)