From 779be8cff19077f84ae7bc3f708e265377db8395 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Mon, 15 Jan 2018 17:10:37 +0000 Subject: [PATCH] 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) Signed-off-by: Ian Campbell --- pkg/mount/mountie.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/mount/mountie.go b/pkg/mount/mountie.go index 181e63e40..5d50cd2c1 100644 --- a/pkg/mount/mountie.go +++ b/pkg/mount/mountie.go @@ -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]) } } }