Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Add missing curly braces
details: https://anonhg.NetBSD.org/src/rev/f595bf2583fd
branches: trunk
changeset: 798221:f595bf2583fd
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Mon Aug 11 06:02:38 2014 +0000
description:
Add missing curly braces
It unbreaks the i386 build of ALL.
diffstat:
sys/dev/pci/viaenv.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r d427ce25e294 -r f595bf2583fd sys/dev/pci/viaenv.c
--- a/sys/dev/pci/viaenv.c Mon Aug 11 05:19:16 2014 +0000
+++ b/sys/dev/pci/viaenv.c Mon Aug 11 06:02:38 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: viaenv.c,v 1.32 2014/08/10 16:44:36 tls Exp $ */
+/* $NetBSD: viaenv.c,v 1.33 2014/08/11 06:02:38 ozaki-r Exp $ */
/*
* Copyright (c) 2000 Johan Danielsson
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: viaenv.c,v 1.32 2014/08/10 16:44:36 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: viaenv.c,v 1.33 2014/08/11 06:02:38 ozaki-r Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -343,9 +343,10 @@
#undef COPYDESCR
- for (i = 0; i < 10; i++)
+ for (i = 0; i < 10; i++) {
sc->sc_sensor[i].state = ENVSYS_SINVALID;
sc->sc_sensor[i].flags |= ENVSYS_FHAS_ENTROPY;
+ }
sc->sc_sme = sysmon_envsys_create();
Home |
Main Index |
Thread Index |
Old Index