* mmap.cc (mprotect): Add missing break.

This commit is contained in:
Corinna Vinschen 2003-02-14 21:15:16 +00:00
parent 8df75c3736
commit 4d9ba012a9
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-02-14 Jason Tishler <jason@tishler.net>
* mmap.cc (mprotect): Add missing break.
2003-02-13 Christopher Faylor <cgf@redhat.com>
* exceptions.cc (try_to_debug): Don't reset priority when returning

View File

@ -909,6 +909,7 @@ mprotect (caddr_t addr, size_t len, int prot)
break;
case PROT_READ:
new_prot = PAGE_READONLY;
break;
case PROT_EXEC:
new_prot = PAGE_EXECUTE;
break;