From 1c0aec6a02eabdec736006db9b0566ff4d6e7f41 Mon Sep 17 00:00:00 2001 From: patrick Date: Wed, 17 Jan 2018 13:35:52 +0000 Subject: [PATCH] Remove erreneous and leftover slash that was part of the regex before we switched to compiled regexes. Fixes fw_update(1). Noticed by deraadt@ ok sthen@ --- usr.sbin/pkg_add/OpenBSD/FwUpdate.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/pkg_add/OpenBSD/FwUpdate.pm b/usr.sbin/pkg_add/OpenBSD/FwUpdate.pm index 3a9753ea68f..c5a82dccc76 100644 --- a/usr.sbin/pkg_add/OpenBSD/FwUpdate.pm +++ b/usr.sbin/pkg_add/OpenBSD/FwUpdate.pm @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: FwUpdate.pm,v 1.26 2018/01/11 22:07:23 patrick Exp $ +# $OpenBSD: FwUpdate.pm,v 1.27 2018/01/17 13:35:52 patrick Exp $ # # Copyright (c) 2014 Marc Espie # @@ -150,7 +150,7 @@ my %possible_drivers = map {($_, "$_-firmware")} (qw(acx athn bwfm bwi intel ipw iwi iwm iwn malo otus pgt radeondrm rsu rtwn uath upgt urtwn uvideo vmm wpi)); -my %match = map {($_, qr{^\Q$_\E\d+\s+at\s/})} (keys %possible_drivers); +my %match = map {($_, qr{^\Q$_\E\d+\s+at\s})} (keys %possible_drivers); $match{'intel'} = qr{^cpu\d+: Intel}; sub parse_dmesg -- 2.20.1