Module Name: src Committed By: enami Date: Mon Mar 15 03:27:49 UTC 2010
Modified Files: src/sys/dev/usb: uyurex.c Log Message: The monitor struct member is gone. Make this compile again. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/usb/uyurex.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/usb/uyurex.c diff -u src/sys/dev/usb/uyurex.c:1.1 src/sys/dev/usb/uyurex.c:1.2 --- src/sys/dev/usb/uyurex.c:1.1 Thu Mar 11 10:38:37 2010 +++ src/sys/dev/usb/uyurex.c Mon Mar 15 03:27:49 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: uyurex.c,v 1.1 2010/03/11 10:38:37 enami Exp $ */ +/* $NetBSD: uyurex.c,v 1.2 2010/03/15 03:27:49 enami Exp $ */ /* $OpenBSD: uyurex.c,v 1.3 2010/03/04 03:47:22 deraadt Exp $ */ /* @@ -165,7 +165,6 @@ sc->sc_sensor_val.units = ENVSYS_INTEGER; sc->sc_sensor_val.state = ENVSYS_SINVALID; sc->sc_sensor_val.flags = ENVSYS_FMONCRITICAL; /* abuse XXX */ - sc->sc_sensor_val.monitor = true; strlcpy(sc->sc_sensor_val.desc, "BBU", sizeof(sc->sc_sensor_val.desc)); sysmon_envsys_sensor_attach(sc->sc_sme, &sc->sc_sensor_val);