From 813f363bff69acc436b3c300a2f699f643a644f8 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 4 Jul 2020 14:16:35 +0200 Subject: all: fix dup types in func args --- sys/fuchsia/fidlgen/main.go | 2 +- sys/syz-extract/netbsd.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/fuchsia/fidlgen/main.go b/sys/fuchsia/fidlgen/main.go index 63f1ca120..8c48ac312 100644 --- a/sys/fuchsia/fidlgen/main.go +++ b/sys/fuchsia/fidlgen/main.go @@ -93,7 +93,7 @@ func main() { } } -func fidlgen(fidlgenPath string, jsonPath string, txtPathBase string) string { +func fidlgen(fidlgenPath, jsonPath, txtPathBase string) string { if !osutil.IsExist(jsonPath) { failf("cannot find %s", jsonPath) } diff --git a/sys/syz-extract/netbsd.go b/sys/syz-extract/netbsd.go index 27ebe3ec3..4f5cf84e8 100644 --- a/sys/syz-extract/netbsd.go +++ b/sys/syz-extract/netbsd.go @@ -38,7 +38,7 @@ func (*netbsd) prepareArch(arch *Arch) error { return nil } -func machineLink(arch *Arch, machine string, dest string) error { +func machineLink(arch *Arch, machine, dest string) error { if err := os.Symlink(machineInclude(arch, machine), filepath.Join(arch.buildDir, dest)); err != nil { return fmt.Errorf("failed to create link: %v", err) -- cgit mrf-deployment