diff options
author | neal <neal> | 2008-06-22 09:53:10 +0000 |
---|---|---|
committer | neal <neal> | 2008-06-22 09:53:10 +0000 |
commit | ca54ca0e1d4d2eee5b0d4a26809498ac6309144c (patch) | |
tree | f1993ac46eb5596482b8981453d8c92ed1d12a4f /hurd | |
parent | e5d12328cea29f3f870ede85f2218e588355661a (diff) |
2008-06-22 Neal H. Walfield <neal@gnu.org>
* exceptions.h (EXCEPTION_INFO_PRINTF): Clean up output.
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/ChangeLog | 4 | ||||
-rw-r--r-- | hurd/exceptions.h | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/hurd/ChangeLog b/hurd/ChangeLog index 4ff7d2d..d0c4257 100644 --- a/hurd/ChangeLog +++ b/hurd/ChangeLog @@ -1,5 +1,9 @@ 2008-06-22 Neal H. Walfield <neal@gnu.org> + * exceptions.h (EXCEPTION_INFO_PRINTF): Clean up output. + +2008-06-22 Neal H. Walfield <neal@gnu.org> + * futex.h [! RM_INTERN]: Include <errno.h>. (futex_wait): On error, set ERRNO and return -1. (futex_timed_wait): Likewise. diff --git a/hurd/exceptions.h b/hurd/exceptions.h index c1d1960..5771210 100644 --- a/hurd/exceptions.h +++ b/hurd/exceptions.h @@ -75,13 +75,13 @@ struct exception_info }; }; -#define EXCEPTION_INFO_FMT "%c%c%c %s %s" +#define EXCEPTION_INFO_FMT "%c%c%c %s%s" #define EXCEPTION_INFO_PRINTF(info) \ ((info).access & L4_FPAGE_READABLE ? 'r' : '~'), \ ((info).access & L4_FPAGE_WRITABLE ? 'w' : '~'), \ - ((info).access & L4_FPAGE_EXECUTABLE ? 'r' : '~'), \ + ((info).access & L4_FPAGE_EXECUTABLE ? 'x' : '~'), \ cap_type_string ((info).type), \ - (info.discarded) ? "discarded" : "" + (info.discarded) ? " discarded" : "" /* Raise a fault at address FAULT_ADDRESS. If IP is not 0, then IP is the value of the IP of the faulting thread at the time of the fault |