diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2010-09-16 11:33:31 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2010-09-16 11:33:31 +0000 |
commit | a5675467db63223c48c077b5d11728af70c0d848 (patch) | |
tree | d4baf4f1b9697b9b58ab99ce8dd05b21025a53f7 /contrib/diff/lib | |
parent | 10f125026cd544d1d2829b8f0d72332c62d90e2b (diff) | |
download | FreeBSD-src-a5675467db63223c48c077b5d11728af70c0d848.zip FreeBSD-src-a5675467db63223c48c077b5d11728af70c0d848.tar.gz |
When generating functions to print the arguments of system calls with
bitwise parameters (e.g. mmap), print the syscall parameter value first.
The resulting output looks like the %b specifier of printf(9).
Before:
mmap(0,0x8000,PROT_READ|PROT_WRITE,...
After:
mmap(0,0x8000,0x3<PROT_READ|PROT_WRITE>,...
Submitted by: Norberto Lopes <nlopes.ml at gmail.com>
Idea from: freebsd-arch/2006-April/005116.html
Diffstat (limited to 'contrib/diff/lib')
0 files changed, 0 insertions, 0 deletions