Skip to content

Commit 1039f40

Browse files
committed
vm/qemu: fix wrong arr usage
Closes #5870.
1 parent 4990027 commit 1039f40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm/qemu/qemu.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ func (inst *instance) Run(timeout time.Duration, stop <-chan bool, command strin
675675
}
676676
inst.merger.Add("ssh", rpipe)
677677

678-
sshArgs := vmimpl.SSHArgsForward(inst.debug, inst.User, inst.Port, inst.forwardPort, false)
678+
sshArgs := vmimpl.SSHArgsForward(inst.debug, inst.Key, inst.Port, inst.forwardPort, false)
679679
args := strings.Split(command, " ")
680680
if bin := filepath.Base(args[0]); inst.target.HostFuzzer && bin == "syz-execprog" {
681681
// Weird mode for Fuchsia.

0 commit comments

Comments
 (0)