Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 2009 12:18:14 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r199360 - stable/8/sys/dev/ata
Message-ID:  <200911171218.nAHCIEtX006417@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911171218.nAHCIEtX006417>