aboutsummaryrefslogtreecommitdiffstats
path: root/sys/syz-extract
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-07-04 14:16:35 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-07-04 15:05:30 +0200
commit813f363bff69acc436b3c300a2f699f643a644f8 (patch)
tree8f2ee490eee7d467487b3f6634bfa611c8886f6c /sys/syz-extract
parent85b1d37b140571d85fff5aa77655ab1fa223fb36 (diff)
all: fix dup types in func args
Diffstat (limited to 'sys/syz-extract')
-rw-r--r--sys/syz-extract/netbsd.go2
1 files changed, 1 insertions, 1 deletions
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)