From 13579c94015cebc7354ab996e3a207f22f8d1a89 Mon Sep 17 00:00:00 2001 From: pgoyette Date: Fri, 10 Oct 2008 13:08:29 +0000 Subject: [PATCH] sysctl doesn't like names that start with digits, nor does it like names with embedded '.' so change the names to be better-conforming. Reported by njoly --- sys/dev/i2c/dbcool.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/i2c/dbcool.c b/sys/dev/i2c/dbcool.c index e41974804190..b85cf8d51219 100644 --- a/sys/dev/i2c/dbcool.c +++ b/sys/dev/i2c/dbcool.c @@ -1,4 +1,4 @@ -/* $NetBSD: dbcool.c,v 1.3 2008/10/07 22:50:33 pgoyette Exp $ */ +/* $NetBSD: dbcool.c,v 1.4 2008/10/10 13:08:29 pgoyette Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -49,7 +49,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: dbcool.c,v 1.3 2008/10/07 22:50:33 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dbcool.c,v 1.4 2008/10/10 13:08:29 pgoyette Exp $"); #include #include @@ -154,8 +154,8 @@ static struct dbc_sysctl_info dbc_sysctl_table[] = { static const char *dbc_sensor_names[] = { "l_temp", "r1_temp", "r2_temp", "Vccp", "Vcc", "fan1", - "fan2", "fan3", "fan4", "AIN1", "AIN2", "2.5V", - "5V", "12V", "Vtt", "Imon" + "fan2", "fan3", "fan4", "AIN1", "AIN2", "V2dot5", + "V5", "V12", "Vtt", "Imon" }; /*