chiark / gitweb /
terminal: remove dead code checking O_WRONLY
[elogind.git] / hwdb / ids-update.pl
index 68c63ede4383f82e14838cbd78cc4032b0264319..86d414a6ffecf835ed63280684d26bca4d896b67 100755 (executable)
@@ -144,7 +144,7 @@ sub pci_vendor {
                         my $sub_device = uc $2;
                         my $sub_text = $3;
                         $sub_text =~ s/^\Q$device_text\E\s*//;
-                        $sub_text =~ s/(.+)/\ (\1\)/;
+                        $sub_text =~ s/(.+)/\ ($1)/;
                         print(OUT "\n");
                         print(OUT "pci:v0000" . $vendor . "d0000" . $device . "sv0000" . $sub_vendor . "sd0000" . $sub_device . "*\n");
                         print(OUT " ID_MODEL_FROM_DATABASE=" . $device_text . $sub_text . "\n");