Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/sunxi Complete last change...
details: https://anonhg.NetBSD.org/src/rev/bbb3cdfae9ba
branches: trunk
changeset: 827527:bbb3cdfae9ba
user: kre <kre%NetBSD.org@localhost>
date: Wed Nov 01 05:42:32 2017 +0000
description:
Complete last change...
diffstat:
sys/arch/arm/sunxi/sunxi_thermal.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c8d1f55d6fe8 -r bbb3cdfae9ba sys/arch/arm/sunxi/sunxi_thermal.c
--- a/sys/arch/arm/sunxi/sunxi_thermal.c Wed Nov 01 01:47:00 2017 +0000
+++ b/sys/arch/arm/sunxi/sunxi_thermal.c Wed Nov 01 05:42:32 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_thermal.c,v 1.2 2017/11/01 01:47:00 pgoyette Exp $ */
+/* $NetBSD: sunxi_thermal.c,v 1.3 2017/11/01 05:42:32 kre Exp $ */
/*-
* Copyright (c) 2016-2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunxi_thermal.c,v 1.2 2017/11/01 01:47:00 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_thermal.c,v 1.3 2017/11/01 05:42:32 kre Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -553,7 +553,7 @@
sc->data[i].units = ENVSYS_STEMP;
sc->data[i].state = ENVSYS_SINVALID;
strlcpy(sc->data[1].desc, sc->conf->sensors[i].desc,
- sizeof(sc->data[1].desc);
+ sizeof(sc->data[1].desc));
sysmon_envsys_sensor_attach(sc->sme, &sc->data[i]);
}
sysmon_envsys_register(sc->sme);
Home |
Main Index |
Thread Index |
Old Index