diff options
author | jilles <jilles@FreeBSD.org> | 2012-11-02 16:07:21 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2012-11-02 16:07:21 +0000 |
commit | 2a05c8d9e2ced25189fb50d510d7f8226b4fbfa2 (patch) | |
tree | fd57147a8f5cc8edffb493c64d3502313846ca87 /usr.bin | |
parent | dd8afbd1630f9f57b7210beab95ded436336080d (diff) | |
download | FreeBSD-src-2a05c8d9e2ced25189fb50d510d7f8226b4fbfa2.zip FreeBSD-src-2a05c8d9e2ced25189fb50d510d7f8226b4fbfa2.tar.gz |
kdump: Also decode fcntl commands containing underscores and digits.
The commands F_SETLK_REMOTE, F_DUPFD_CLOEXEC and F_DUP2FD_CLOEXEC were not
decoded.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/kdump/mksubr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/kdump/mksubr b/usr.bin/kdump/mksubr index 2397812..1b0df5e 100644 --- a/usr.bin/kdump/mksubr +++ b/usr.bin/kdump/mksubr @@ -416,7 +416,7 @@ fcntlcmdname(int cmd, int arg, int decimal) { switch (cmd) { _EOF_ -egrep "^#[[:space:]]*define[[:space:]]+F_[A-Z]+[[:space:]]+[0-9]+[[:space:]]*" \ +egrep "^#[[:space:]]*define[[:space:]]+F_[A-Z0-9_]+[[:space:]]+[0-9]+[[:space:]]*" \ $include_dir/sys/fcntl.h | \ awk 'BEGIN { o=0 } { for (i = 1; i <= NF; i++) \ if ($i ~ /define/) \ |