Author: lwhsu (ports committer)
Date: Mon Jan 29 04:04:52 2018
New Revision: 328529
URL: https://svnweb.freebsd.org/changeset/base/328529

Log:
  Fix kernel build after r328523, correct variable names
  
  Reviewed by:  delphij
  Differential Revision:        https://reviews.freebsd.org/D14105

Modified:
  head/sys/dev/advansys/advansys.c
  head/sys/dev/advansys/adwcam.c

Modified: head/sys/dev/advansys/advansys.c
==============================================================================
--- head/sys/dev/advansys/advansys.c    Mon Jan 29 03:24:02 2018        
(r328528)
+++ head/sys/dev/advansys/advansys.c    Mon Jan 29 04:04:52 2018        
(r328529)
@@ -1399,7 +1399,7 @@ adv_attach(adv)
        csa.callback_arg = adv;
        xpt_action((union ccb *)&csa);
        mtx_unlock(&adv->lock);
-       gone_in_dev(adv->adv, 12, "adv(4) driver");
+       gone_in_dev(adv->dev, 12, "adv(4) driver");
 
        return (0);
 }

Modified: head/sys/dev/advansys/adwcam.c
==============================================================================
--- head/sys/dev/advansys/adwcam.c      Mon Jan 29 03:24:02 2018        
(r328528)
+++ head/sys/dev/advansys/adwcam.c      Mon Jan 29 04:04:52 2018        
(r328529)
@@ -1173,7 +1173,7 @@ adw_attach(struct adw_softc *adw)
                xpt_action((union ccb *)&csa);
        }
 
-       gone_in_dev(adv->adv, 12, "adw(4) driver");
+       gone_in_dev(adw->device, 12, "adw(4) driver");
 fail:
        mtx_unlock(&adw->lock);
        return (error);
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to