mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
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:
parent
826ee28c8d
commit
779be8cff1
@ -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])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user