aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2025-06-04 11:23:27 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2025-06-04 11:24:20 +0000
commitc27f7d6b9cf6d4ab01cb3d0972726c14e0aca146 (patch)
tree6a19d337af78bb3e32e4fd7635a762c6e6e9972a
parenta3ed55ff181827ef1541e3ed25c76844bc835ad8 (diff)
libsysdecode: correct regexp for thr_new flags
Two flags include underscore after the "THR_" prefix. Sponsored by: The FreeBSD Foundation MFC after: 1 week
-rw-r--r--lib/libsysdecode/mktables2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libsysdecode/mktables b/lib/libsysdecode/mktables
index 87ab24ddf1a5..5d7be2aad3c8 100644
--- a/lib/libsysdecode/mktables
+++ b/lib/libsysdecode/mktables
@@ -145,7 +145,7 @@ gen_table "sockopttcp" "TCP_[[:alnum:]_]+[[:space:]]+[0-9]+" "neti
gen_table "sockoptudp" "UDP_[[:alnum:]]+[[:space:]]+[0-9]+" "netinet/udp.h" "UDP_ENCAP_"
gen_table "sockoptudplite" "UDPLITE_[[:alnum:]_]+[[:space:]]+[0-9]+" "netinet/udplite.h"
gen_table "socktype" "SOCK_[A-Z]+[[:space:]]+[1-9]+[0-9]*" "sys/socket.h"
-gen_table "thrcreateflags" "THR_[A-Z]+[[:space:]]+0x[0-9]+" "sys/thr.h"
+gen_table "thrcreateflags" "THR_[A-Z_]+[[:space:]]+0x[0-9]+" "sys/thr.h"
gen_table "umtxop" "UMTX_OP_[[:alnum:]][[:alnum:]_]*[[:space:]]+[0-9]+" "sys/umtx.h"
gen_table "umtxopflags" "UMTX_OP__[[:alnum:]_]+[[:space:]]+[0-9]+" "sys/umtx.h"
gen_table "vmprot" "VM_PROT_[A-Z_]+[[:space:]]+\(\(vm_prot_t\)[[:space:]]+0x[0-9]+\)" "vm/vm.h"