mount: Add missing argument to Printf
go_vet (via https://goreportcard.com/report/github.com/linuxkit/linuxkit)
reported:
error: missing argument for Printf("%v"): format reads arg 2, have only 1 args (vet)
error: wrong number of args for format in Printf call: 2 needed but 3 args (vet)
@@ -180,13 +180,13 @@ func makeDevLinks() error {
// udev makes these relative links, copy that behaviour.
tgtpath := filepath.Join("..", "..", name)
if err := os.Symlink(tgtpath, sympath); err != nil {
- log.Printf("Failed to create %q: %v", err)
+ log.Printf("Failed to create %q: %v", sympath, err)
continue
}
case "TYPE":
// uninteresting
default:
- log.Printf("unused %q blkid property %q", name, key, match[0])
+ log.Printf("unused %q blkid property %q in %q", name, key, match[0])
}
}
}
