svn commit: r199360 - stable/8/sys/dev/ata

Alexander Motin mav at FreeBSD.org
Tue Nov 17 12:18:14 UTC 2009


Author: mav
Date: Tue Nov 17 12:18:14 2009
New Revision: 199360
URL: http://svn.freebsd.org/changeset/base/199360

Log:
  MFC r198519:
  Don't ignore the return value of g_modevent() in acd_modevent().

Modified:
  stable/8/sys/dev/ata/atapi-cd.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)
  stable/8/sys/netinet6/   (props changed)

Modified: stable/8/sys/dev/ata/atapi-cd.c
==============================================================================
--- stable/8/sys/dev/ata/atapi-cd.c	Tue Nov 17 12:11:12 2009	(r199359)
+++ stable/8/sys/dev/ata/atapi-cd.c	Tue Nov 17 12:18:14 2009	(r199360)
@@ -1905,8 +1905,7 @@ static devclass_t acd_devclass;
 static int
 acd_modevent(module_t mod, int what, void *arg)  
 {
-    g_modevent(0, what, &acd_class);
-    return 0;
+    return g_modevent(0, what, &acd_class);
 }
  
 DRIVER_MODULE(acd, ata, acd_driver, acd_devclass, acd_modevent, NULL);


More information about the svn-src-stable-8 mailing list