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 <ijc@docker.com>
This commit is contained in:
Ian Campbell 2018-01-15 17:10:37 +00:00
parent 826ee28c8d
commit 779be8cff1

View File

@ -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])
}
}
}