5
0
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:
Dietmar Maurer 2013-08-14 15:55:01 +02:00
parent 4c5dbaf6ab
commit 32e698051f

View File

@ -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";
}