diff options
author | Neal H. Walfield <neal@gnu.org> | 2009-01-18 02:07:41 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@gnu.org> | 2009-01-18 02:07:41 +0100 |
commit | 6e8917cd379cd0aec0a7689d4c903f32cd09edaf (patch) | |
tree | 131d9618d15da4d650127e71584600758bae9221 /ruth | |
parent | 7fe504f224ab520ea06a77c0b36b1513843e5f44 (diff) |
Use correct format and type specifiers.
benchmarks/
2009-01-18 Neal H. Walfield <neal@gnu.org>
* activity-distribution.c: Include <stdint.h> and <inttypes.h>.
(main): Use correct printf format specifiers.
* cache.c: Include <stdint.h> and <inttypes.h>.
(helper): Use correct printf format specifiers.
(helper_fork): Likewise.
(object_read): Likewise.
(object_fill): Likewise.
(main): Likewise.
hieronymus/
2009-01-18 Neal H. Walfield <neal@gnu.org>
* hieronymus.c (main): Use correct printf format specifiers.
libc-parts/
2009-01-18 Neal H. Walfield <neal@gnu.org>
* backtrace.c (backtrace_print): Use correct printf format
specifiers.
* panic.c (panic_): Likewise.
* profile.c (profile_stats_dump): Likewise.
* process-spawn.c: Include <stdint.h> and <inttypes.h>.
(process_spawn): Use correct printf format specifiers.
libhurd-mm/
2009-01-18 Neal H. Walfield <neal@gnu.org>
* as.h: Include <stdint.h> and <inttypes.h>.
(AS_CHECK_SHADOW): Use correct printf format specifiers.
* as.c: Include <stdint.h> and <inttypes.h>.
(free_space_split): Use correct printf format specifiers.
(as_free): Likewise.
(as_alloced_dump): Likewise.
* as-lookup.c: Include <stdint.h> and <inttypes.h>.
(as_lookup_rel_internal): Use correct printf format specifiers.
* as-build.c: Include <stdint.h> and <inttypes.h>.
(as_build): Use correct printf format specifiers.
* as-dump.c: Include <stdint.h> and <inttypes.h>.
(print_nr): Remove function.
(do_walk): Use correct printf format specifiers. Use precision
specifiers instead of print_nr.
* anonymous.c (fault): Use correct
printf format specifiers.
(anonymous_pager_alloc): Likewise.
* exceptions.c (hurd_activation_handler_normal): Likewise.
(hurd_activation_handler_activated): Likewise.
(hurd_activation_handler_init_early): Likewise.
* map.h: Include <inttypes.h>.
(map_find): Use correct printf format specifiers.
(REGION_FMT): Likewise.
(MAP_FMT): Likewise.
* map.c (map_install): Likewise.
(map_split): Likewise.
* madvise.c (madvise): Likewise.
* mmap.c (munmap): Likewise.
* mprotect.c (mprotect): Likewise.
* pager.c (pager_init): Likewise.
* storage.h (storage_alloc): Likewise.
* storage.c (storage_alloc): Likewise.
(storage_init): Likewise.
libpthread/
2009-01-18 Neal H. Walfield <neal@gnu.org>
* sysdeps/generic/pt-mutex-unlock.c (__pthread_mutex_unlock): Use
correct printf format specifiers.
* sysdeps/viengoos/pt-wakeup.c (__pthread_wakeup): Likewise.
libviengoos/
2009-01-18 Neal H. Walfield <neal@gnu.org>
* viengoos/addr.h: Include <inttypes.h>.
(VG_ADDR_FMT): Use correct printf format specifiers.
(VG_ADDR_VOID): Use the correct constant suffix.
(vg_addr_prefix): Likewise.
(vg_addr_chop): Likewise.
(vg_addr_extract): Likewise.
(vg_addr_extend): Do both of the above.
* viengoos/cap.h: Include <inttypes.h>.
(VG_OID_FMT): Use correct printf format specifiers.
(VG_CAP_FMT): Likewise.
(vg_cap_copy_x): Likewise.
* viengoos/thread.h: Include <inttypes.h>.
(vg_niltid): Use the correct constant suffix.
(VG_THREAD_ID_FMT): Use correct printf format specifiers.
ruth/
2009-01-18 Neal H. Walfield <neal@gnu.org>
* ruth.c (main): Use correct printf format specifiers.
viengoos/
2009-01-18 Neal H. Walfield <neal@gnu.org>
* object.h (object_desc_to_object): Use correct printf format
specifiers.
Diffstat (limited to 'ruth')
-rw-r--r-- | ruth/ChangeLog | 4 | ||||
-rw-r--r-- | ruth/ruth.c | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/ruth/ChangeLog b/ruth/ChangeLog index 0ad77ef..4b925e1 100644 --- a/ruth/ChangeLog +++ b/ruth/ChangeLog @@ -1,3 +1,7 @@ +2009-01-18 Neal H. Walfield <neal@gnu.org> + + * ruth.c (main): Use correct printf format specifiers. + 2009-01-16 Neal H. Walfield <neal@gnu.org> * ruth.c [USE_L4]: Only include <l4.h> in this case. diff --git a/ruth/ruth.c b/ruth/ruth.c index 5af88dc..760757a 100644 --- a/ruth/ruth.c +++ b/ruth/ruth.c @@ -323,7 +323,7 @@ main (int argc, char *argv[]) do_debug (4) as_dump ("thread"); - debug (4, "I'm running (%x)!", hurd_myself ()); + debug (4, "I'm running ("VG_THREAD_ID_FMT")!", hurd_myself ()); done = 1; do @@ -382,7 +382,7 @@ main (int argc, char *argv[]) { uintptr_t i = (uintptr_t) arg; - debug (5, "%d (%x) started", (int) i, hurd_myself ()); + debug (5, "%d ("VG_THREAD_ID_FMT") started", (int) i, hurd_myself ()); int c; for (c = 0; c < FACTOR; c ++) @@ -897,7 +897,8 @@ main (int argc, char *argv[]) uintptr_t ret = 0; error_t err; err = vg_object_reply_on_destruction (VG_ADDR_VOID, storage.addr, &ret); - debug (5, "object_reply_on_destruction: err: %d, ret: %d", err, ret); + debug (5, "object_reply_on_destruction: err: %d, ret: %"PRIdPTR, + err, ret); assert (err == 0); assert (ret == 10); return 0; |