all: fix/silence vet errors

Change-Id: I04d12297538c6308bc7d7b14c9d50ff7f87eba0a
Reviewed-on: https://go-review.googlesource.com/79579
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
diff --git a/ppc64/ppc64map/map.go b/ppc64/ppc64map/map.go
index a4186a5..fe9ebac 100644
--- a/ppc64/ppc64map/map.go
+++ b/ppc64/ppc64map/map.go
@@ -540,7 +540,7 @@
 		m[name] = true
 		fmt.Fprintf(&buf, "\t%s\n", name)
 	}
-	fmt.Fprintln(&buf, ")\n\n")
+	fmt.Fprint(&buf, ")\n\n\n")
 
 	// Emit slice mapping opcode number to name string.
 	m = map[string]bool{}
@@ -553,7 +553,7 @@
 		m[name] = true
 		fmt.Fprintf(&buf, "\t%s: %q,\n", opName(inst.Op), inst.Op)
 	}
-	fmt.Fprintln(&buf, "}\n\n")
+	fmt.Fprint(&buf, "}\n\n\n")
 
 	// print out argFields
 	fmt.Fprintf(&buf, "var (\n")
@@ -572,7 +572,7 @@
 			fmt.Fprintf(&buf, "}}\n")
 		}
 	}
-	fmt.Fprintln(&buf, ")\n\n")
+	fmt.Fprint(&buf, ")\n\n\n")
 
 	// Emit decoding table.
 	fmt.Fprintf(&buf, "var instFormats = [...]instFormat{\n")
@@ -584,7 +584,7 @@
 		}
 		fmt.Fprintf(&buf, "}},\n")
 	}
-	fmt.Fprintln(&buf, "}\n")
+	fmt.Fprint(&buf, "}\n\n")
 
 	out, err := gofmt.Source(buf.Bytes())
 	if err != nil {
diff --git a/x86/x86map/map.go b/x86/x86map/map.go
index 83cdbce..4f64c0c 100644
--- a/x86/x86map/map.go
+++ b/x86/x86map/map.go
@@ -248,7 +248,7 @@
 				ops = append(ops, tag)
 			} else {
 				if strings.Contains(tag, "operand") {
-					log.Fatal("unknown tag %q", tag)
+					log.Fatalf("unknown tag %q", tag)
 				}
 				f[w] = tag
 				w++