summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2011-06-06 19:00:38 +0000
committerdchagin <dchagin@FreeBSD.org>2011-06-06 19:00:38 +0000
commit2157ebafe521d9b08c3b5fc99e5f19eac4530377 (patch)
tree7320ea00455ee13eacda33b31a25dbf1361dc982
parentd5bd22e229d52e500cb2628346b9ad8deb2ef1c3 (diff)
downloadFreeBSD-src-2157ebafe521d9b08c3b5fc99e5f19eac4530377.zip
FreeBSD-src-2157ebafe521d9b08c3b5fc99e5f19eac4530377.tar.gz
Fix regex for ptraceopname().
PR: bin/157663 Submitted by: jason wright <jason@thought.net> MFC after: 10 days
-rw-r--r--usr.bin/kdump/mksubr2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/kdump/mksubr b/usr.bin/kdump/mksubr
index afff24d..dbde92b 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_
/*
OpenPOWER on IntegriCloud