From 27242311a3df45c4ce9e9d506035978dba2e62cb Mon Sep 17 00:00:00 2001 From: Dmitry Chagin Date: Mon, 6 Jun 2011 19:00:38 +0000 Subject: [PATCH] Fix regex for ptraceopname(). PR: bin/157663 Submitted by: jason wright MFC after: 10 days --- usr.bin/kdump/mksubr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/kdump/mksubr b/usr.bin/kdump/mksubr index afff24d5fd6b..dbde92b762ec 100644 --- a/usr.bin/kdump/mksubr +++ b/usr.bin/kdump/mksubr @@ -345,7 +345,7 @@ auto_if_type "sockfamilyname" "AF_[[:alnum:]]+[[:space:]]+" "sys/socket.h" auto_if_type "sockipprotoname" "IPPROTO_[[:alnum:]]+[[:space:]]+" "netinet/in.h" auto_switch_type "sockoptname" "SO_[A-Z]+[[:space:]]+0x[0-9]+" "sys/socket.h" auto_switch_type "socktypename" "SOCK_[A-Z]+[[:space:]]+[1-9]+[0-9]*" "sys/socket.h" -auto_switch_type "ptraceopname" "PT_[[:alnum:]]+[[:space:]]+[0-9]+" "sys/ptrace.h" +auto_switch_type "ptraceopname" "PT_[[:alnum:]_]+[[:space:]]+[0-9]+" "sys/ptrace.h" cat <<_EOF_ /*