diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2009-01-23 16:10:22 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2009-06-02 16:35:32 -0700 |
commit | 0ce47bbfbf54e5171223f5fd333450e1e1769bc4 (patch) | |
tree | 52c646575617745e8bb2516d025b2c4e091716c8 | |
parent | c30f3d101b5329ef5319128c0f8f3538691cdab6 (diff) | |
download | strace-0ce47bbfbf54e5171223f5fd333450e1e1769bc4.tar.gz |
By Michal Nowak <mnowak@redhat.com>:
* mem.c (print_ldt_entry): Fix warning:
Format '%#08lx' expects type 'long unsigned int', but
argument 2 was type 'unsigned int'.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | mem.c | 5 |
2 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,9 @@ +2009-01-20 Michal Nowak <mnowak@redhat.com> + + * mem.c (print_ldt_entry): Fix warning: + Format '%#08lx' expects type 'long unsigned int', but + argument 2 was type 'unsigned int'. + 2009-01-17 Denys Vlasenko <dvlasenk@redhat.com> Two cleanups: tcb table expansion failure is not really a survivable @@ -565,8 +565,7 @@ struct tcb *tcp; #if defined(LINUX) && defined(__i386__) void -print_ldt_entry (ldt_entry) -struct modify_ldt_ldt_s *ldt_entry; +print_ldt_entry(struct modify_ldt_ldt_s *ldt_entry) { tprintf("base_addr:%#08lx, " "limit:%d, " @@ -576,7 +575,7 @@ struct modify_ldt_ldt_s *ldt_entry; "limit_in_pages:%d, " "seg_not_present:%d, " "useable:%d}", - ldt_entry->base_addr, + (long) ldt_entry->base_addr, ldt_entry->limit, ldt_entry->seg_32bit, ldt_entry->contents, |