Author: dim
Date: Tue Jan  3 20:51:26 2012
New Revision: 229423
URL: http://svn.freebsd.org/changeset/base/229423

Log:
  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

Modified:
  head/sys/dev/qlxgb/qla_misc.c

Modified: head/sys/dev/qlxgb/qla_misc.c
==============================================================================
--- head/sys/dev/qlxgb/qla_misc.c       Tue Jan  3 20:50:48 2012        
(r229422)
+++ head/sys/dev/qlxgb/qla_misc.c       Tue Jan  3 20:51:26 2012        
(r229423)
@@ -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));
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to