svn commit: r244367 - projects/calloutng/sys/dev/syscons

Alexander Motin mav at FreeBSD.org
Mon Dec 17 21:23:03 UTC 2012


Author: mav
Date: Mon Dec 17 21:23:02 2012
New Revision: 244367
URL: http://svnweb.freebsd.org/changeset/base/244367

Log:
  Change callout_init() mpsafe argument value from FALSE to 0, following
  usual practice.
  
  Reported by:	jhb

Modified:
  projects/calloutng/sys/dev/syscons/syscons.c

Modified: projects/calloutng/sys/dev/syscons/syscons.c
==============================================================================
--- projects/calloutng/sys/dev/syscons/syscons.c	Mon Dec 17 21:09:44 2012	(r244366)
+++ projects/calloutng/sys/dev/syscons/syscons.c	Mon Dec 17 21:23:02 2012	(r244367)
@@ -504,8 +504,8 @@ sc_attach_unit(int unit, int flags)
 
     sc = sc_get_softc(unit, flags & SC_KERNEL_CONSOLE);
     sc->config = flags;
-    callout_init(&sc->ctimeout, FALSE);
-    callout_init(&sc->cblink, FALSE);
+    callout_init(&sc->ctimeout, 0);
+    callout_init(&sc->cblink, 0);
     scp = sc_get_stat(sc->dev[0]);
     if (sc_console == NULL)	/* sc_console_unit < 0 */
 	sc_console = scp;


More information about the svn-src-projects mailing list