Module Name: src Committed By: pooka Date: Mon Nov 30 15:37:56 UTC 2009
Modified Files: src/sys/kern: subr_xcall.c Log Message: explicitly initialize static boolean To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/kern/subr_xcall.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/subr_xcall.c diff -u src/sys/kern/subr_xcall.c:1.10 src/sys/kern/subr_xcall.c:1.11 --- src/sys/kern/subr_xcall.c:1.10 Thu Mar 5 13:18:51 2009 +++ src/sys/kern/subr_xcall.c Mon Nov 30 15:37:56 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: subr_xcall.c,v 1.10 2009/03/05 13:18:51 uebayasi Exp $ */ +/* $NetBSD: subr_xcall.c,v 1.11 2009/11/30 15:37:56 pooka Exp $ */ /*- * Copyright (c) 2007, 2008 The NetBSD Foundation, Inc. @@ -74,7 +74,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: subr_xcall.c,v 1.10 2009/03/05 13:18:51 uebayasi Exp $"); +__KERNEL_RCSID(0, "$NetBSD: subr_xcall.c,v 1.11 2009/11/30 15:37:56 pooka Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -108,7 +108,7 @@ void xc_init_cpu(struct cpu_info *ci) { - static bool again; + static bool again = false; int error; if (!again) {