mirror of
https://github.com/reactos/syzkaller.git
synced 2025-01-23 12:27:53 +00:00
Fix incorrect argument in syz-tty (#260)
This commit is contained in:
parent
581058c20f
commit
c30c1ddc7b
@ -19,7 +19,7 @@ func main() {
|
||||
fmt.Fprintf(os.Stderr, "usage: %v /dev/ttyUSBx\n", os.Args[0])
|
||||
os.Exit(1)
|
||||
}
|
||||
con, err := vmimpl.OpenConsole(os.Args[0])
|
||||
con, err := vmimpl.OpenConsole(os.Args[1])
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "failed to open console: %v\n", err)
|
||||
os.Exit(1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user