summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-23 21:13:19 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-23 21:13:19 +0000
commitc46c3657ff8415bbf180981aaacad5b81c3b0d71 (patch)
tree82fd96f292cbc6a0672e53a3bd06c644721ad390
parent34e53442122ea6c4ae4918ef063b56c2a07a77ac (diff)
typo
-rw-r--r--sys/dev/i2c/adm1025.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/i2c/adm1025.c b/sys/dev/i2c/adm1025.c
index 55be97fb7a1..5e0418979af 100644
--- a/sys/dev/i2c/adm1025.c
+++ b/sys/dev/i2c/adm1025.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: adm1025.c,v 1.8 2005/12/23 20:46:27 deraadt Exp $ */
+/* $OpenBSD: adm1025.c,v 1.9 2005/12/23 21:13:18 deraadt Exp $ */
/*
* Copyright (c) 2005 Theo de Raadt
@@ -201,7 +201,7 @@ admtm_refresh(void *arg)
cmd = ADM1025_Vccp;
if (iic_exec(sc->sc_tag, I2C_OP_READ_WITH_STOP,
sc->sc_addr, &cmd, sizeof cmd, &data, sizeof data, 0) == 0)
- sc->sc_sensor[ADMTM_Vcc].value = + 2249000 * data / 192;
+ sc->sc_sensor[ADMTM_Vcc].value = 2249000 * data / 192;
cmd = ADM1025_V33;
if (iic_exec(sc->sc_tag, I2C_OP_READ_WITH_STOP,