In sys/dev/qlxgb/qla_misc.c, fix a copy/paste issue. Clang complained

the variable 'val' was uninitialized when used.  Instead, 'sig' should
have been printed.

Reviewed by:	davidcs
MFC after:	1 week
This commit is contained in:
dim 2012-01-03 20:51:26 +00:00
parent 66d3d3405c
commit f91472c403

View File

@ -407,7 +407,7 @@ qla_crb_init(qla_host_t *ha)
addr_val_t *addr_val_map, *avmap;
qla_rd_flash32(ha, 0, &sig);
QL_DPRINT2((ha->pci_dev, "%s: val[0] = 0x%08x\n", __func__, val));
QL_DPRINT2((ha->pci_dev, "%s: val[0] = 0x%08x\n", __func__, sig));
qla_rd_flash32(ha, 4, &val);
QL_DPRINT2((ha->pci_dev, "%s: val[4] = 0x%08x\n", __func__, val));