diff options
author | Pawel Biernacki <kaktus@FreeBSD.org> | 2020-11-26 09:07:45 +0000 |
---|---|---|
committer | Pawel Biernacki <kaktus@FreeBSD.org> | 2020-11-26 09:07:45 +0000 |
commit | 569da02b0cab69aab0707d9791125d7b6c08a86c (patch) | |
tree | 8cb4543ec5e58dece690b40211af7433f9af0387 | |
parent | c0c234543263c95cb79d46cfb1dfae2d91d335e4 (diff) | |
download | src-test2-569da02b0cab69aab0707d9791125d7b6c08a86c.tar.gz src-test2-569da02b0cab69aab0707d9791125d7b6c08a86c.zip |
Notes
-rw-r--r-- | lib/libsysdecode/flags.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libsysdecode/flags.c b/lib/libsysdecode/flags.c index 604303a0cbd4..1eb48858fd88 100644 --- a/lib/libsysdecode/flags.c +++ b/lib/libsysdecode/flags.c @@ -662,7 +662,7 @@ sysdecode_mmap_prot(FILE *fp, int prot, int *rem) printed = false; protm = PROT_MAX_EXTRACT(prot); - prot = PROT_EXTRACT(prot); + prot &= ~PROT_MAX(protm); if (protm != 0) { fputs("PROT_MAX(", fp); printed = print_mask_int(fp, mmapprot, protm, rem); |