Date: Tue, 27 Oct 2009 17:12:59 +0000 (UTC) From: Jaakko Heinonen <jh@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r198519 - head/sys/dev/ata Message-ID: <200910271712.n9RHCxgV037011@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jh Date: Tue Oct 27 17:12:59 2009 New Revision: 198519 URL: http://svn.freebsd.org/changeset/base/198519 Log: Don't ignore the return value of g_modevent() in acd_modevent(). Approved by: trasz (mentor) Modified: head/sys/dev/ata/atapi-cd.c Modified: head/sys/dev/ata/atapi-cd.c ============================================================================== --- head/sys/dev/ata/atapi-cd.c Tue Oct 27 14:37:25 2009 (r198518) +++ head/sys/dev/ata/atapi-cd.c Tue Oct 27 17:12:59 2009 (r198519) @@ -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?200910271712.n9RHCxgV037011>