Fix format string issues
Fix issues caught by go vet.
Test: m checkbuild
Change-Id: Ib8d740457c15432dabe1575a6707726ddaf93084
diff --git a/cmd/zipsync/zipsync.go b/cmd/zipsync/zipsync.go
index ed8a06f..ea755f5 100644
--- a/cmd/zipsync/zipsync.go
+++ b/cmd/zipsync/zipsync.go
@@ -93,11 +93,11 @@
}
}
if filepath.IsAbs(f.Name) {
- log.Fatal("%q in %q is an absolute path", f.Name, input)
+ log.Fatalf("%q in %q is an absolute path", f.Name, input)
}
if prev, exists := seen[f.Name]; exists {
- log.Fatal("%q found in both %q and %q", f.Name, prev, input)
+ log.Fatalf("%q found in both %q and %q", f.Name, prev, input)
}
seen[f.Name] = input