mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-08 21:18:03 +03:00
fix typo - s/parallel/parport/
This commit is contained in:
parent
4c5dbaf6ab
commit
32e698051f
@ -2353,7 +2353,7 @@ sub config_to_command {
|
||||
for (my $i = 0; $i < $MAX_PARALLEL_PORTS; $i++) {
|
||||
if (my $path = $conf->{"parallel$i"}) {
|
||||
die "no such parallel device\n" if ! -c $path;
|
||||
my $devtype = $path =~ m!^/dev/usb/lp! ? 'tty' : 'parallel';
|
||||
my $devtype = $path =~ m!^/dev/usb/lp! ? 'tty' : 'parport';
|
||||
push @$devices, '-chardev', "$devtype,id=parallel$i,path=$path";
|
||||
push @$devices, '-device', "isa-parallel,chardev=parallel$i";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user