Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 2009 17:14:22 +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: r198520 - head/sys/dev/fdc
Message-ID:  <200910271714.n9RHEMfM037069@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jh
Date: Tue Oct 27 17:14:22 2009
New Revision: 198520
URL: http://svn.freebsd.org/changeset/base/198520

Log:
  Don't ignore the return value of g_modevent() in fdc_modevent().
  
  Approved by:	trasz (mentor)

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

Modified: head/sys/dev/fdc/fdc.c
==============================================================================
--- head/sys/dev/fdc/fdc.c	Tue Oct 27 17:12:59 2009	(r198519)
+++ head/sys/dev/fdc/fdc.c	Tue Oct 27 17:14:22 2009	(r198520)
@@ -2068,8 +2068,7 @@ static int
 fdc_modevent(module_t mod, int type, void *data)
 {
 
-	g_modevent(NULL, type, &g_fd_class);
-	return (0);
+	return (g_modevent(NULL, type, &g_fd_class));
 }
 
 DRIVER_MODULE(fd, fdc, fd_driver, fd_devclass, fdc_modevent, 0);



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