Author: mav
Date: Thu Mar 5 20:29:18 2015
New Revision: 279675
URL: https://svnweb.freebsd.org/changeset/base/279675
Log:
Add variable initialization missed by me and clang.
Reported by: grehan
MFC after: 2 weeks
Modified:
head/usr.sbin/bhyve/pci_virtio_block.c
Modified: head/usr.sbin/bhyve/pci_virtio_block.c
==============================================================================
--- head/usr.sbin/bhyve/pci_virtio_block.c Thu Mar 5 20:25:09 2015
(r279674)
+++ head/usr.sbin/bhyve/pci_virtio_block.c Thu Mar 5 20:29:18 2015
(r279675)
@@ -217,6 +217,7 @@ pci_vtblk_proc(struct pci_vtblk_softc *s
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)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"