svn commit: r364337 - head/sys/dev/pccard

Warner Losh imp at FreeBSD.org
Tue Aug 18 06:34:57 UTC 2020


Author: imp
Date: Tue Aug 18 06:34:56 2020
New Revision: 364337
URL: https://svnweb.freebsd.org/changeset/base/364337

Log:
  Use better gone_in_dev rather than just gone_in to print the device name.

Modified:
  head/sys/dev/pccard/pccard.c

Modified: head/sys/dev/pccard/pccard.c
==============================================================================
--- head/sys/dev/pccard/pccard.c	Tue Aug 18 06:18:18 2020	(r364336)
+++ head/sys/dev/pccard/pccard.c	Tue Aug 18 06:34:56 2020	(r364337)
@@ -845,7 +845,7 @@ pccard_attach(device_t dev)
 	sc->sc_enabled_count = 0;
 	if ((err = pccard_device_create(sc)) != 0)
 		return  (err);
-	gone_in(13, "PC Card to be removed.");
+	gone_in_dev(dev, 13, "PC Card to be removed.");
 	STAILQ_INIT(&sc->card.pf_head);
 	return (bus_generic_attach(dev));
 }


More information about the svn-src-all mailing list