summaryrefslogtreecommitdiff
path: root/util/intelp2m/fields/cb
diff options
context:
space:
mode:
Diffstat (limited to 'util/intelp2m/fields/cb')
-rw-r--r--util/intelp2m/fields/cb/cb.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/intelp2m/fields/cb/cb.go b/util/intelp2m/fields/cb/cb.go
index 2a87cdaa88..3bda62e719 100644
--- a/util/intelp2m/fields/cb/cb.go
+++ b/util/intelp2m/fields/cb/cb.go
@@ -19,11 +19,11 @@ type field struct {
}
// generate - wrapper for generating bitfield macros string
-// fileds : field structure
-func generate(fileds ...*field) {
+// fields : field structure
+func generate(fields ...*field) {
macro := common.GetMacro()
var allhidden bool = true
- for _, field := range fileds {
+ for _, field := range fields {
if field.unhide {
allhidden = false
macro.Or()