summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2012-12-31 10:07:52 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2012-12-31 10:07:52 +0000
commita2bf3d1db9b2afe0f92374a6bcb4a4e1fba9ac44 (patch)
tree59b859708f111694b14b2569d2ef256c72927970 /sys/dev
parenta2d89bf757192aa0e8d6e776ef4b52b6ea1e07a7 (diff)
Spell `calculation' correctly.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/bwi.c4
-rw-r--r--sys/dev/softraid_raid6.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/bwi.c b/sys/dev/ic/bwi.c
index 75ae03f29b4..62951721ed7 100644
--- a/sys/dev/ic/bwi.c
+++ b/sys/dev/ic/bwi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bwi.c,v 1.96 2012/12/05 23:20:16 deraadt Exp $ */
+/* $OpenBSD: bwi.c,v 1.97 2012/12/31 10:07:51 miod Exp $ */
/*
* Copyright (c) 2007 The DragonFly Project. All rights reserved.
@@ -2598,7 +2598,7 @@ bwi_mac_adjust_tpctl(struct bwi_mac *mac, int rf_atten_adj, int bbp_atten_adj)
bcopy(&mac->mac_tpctl, &tpctl, sizeof(tpctl));
- /* NOTE: Use signed value to do calulation */
+ /* NOTE: Use signed value to do calculation */
bbp_atten = tpctl.bbp_atten;
rf_atten = tpctl.rf_atten;
tp_ctrl1 = tpctl.tp_ctrl1;
diff --git a/sys/dev/softraid_raid6.c b/sys/dev/softraid_raid6.c
index e457d03447b..186ccbd9a12 100644
--- a/sys/dev/softraid_raid6.c
+++ b/sys/dev/softraid_raid6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid_raid6.c,v 1.26 2012/10/08 14:22:41 jsing Exp $ */
+/* $OpenBSD: softraid_raid6.c,v 1.27 2012/12/31 10:07:51 miod Exp $ */
/*
* Copyright (c) 2009 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2009 Jordan Hargrave <jordan@openbsd.org>
@@ -616,7 +616,7 @@ sr_raid6_rw(struct sr_workunit *wu)
if (pbuf == NULL)
goto bad;
- /* Calulate P = Dn; Q = gn * Dn */
+ /* Calculate P = Dn; Q = gn * Dn */
if (gf_premul(gf_pow[chunk]))
goto bad;
sr_raid6_xorp(pbuf, data, length);