Module Name: src Committed By: ozaki-r Date: Mon Aug 11 06:02:38 UTC 2014
Modified Files: src/sys/dev/pci: viaenv.c Log Message: Add missing curly braces It unbreaks the i386 build of ALL. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/dev/pci/viaenv.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/dev/pci/viaenv.c diff -u src/sys/dev/pci/viaenv.c:1.32 src/sys/dev/pci/viaenv.c:1.33 --- src/sys/dev/pci/viaenv.c:1.32 Sun Aug 10 16:44:36 2014 +++ src/sys/dev/pci/viaenv.c Mon Aug 11 06:02:38 2014 @@ -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 @@ viaenv_attach(device_t parent, device_t #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();