Module: xenomai-jki
Branch: for-upstream
Commit: aa361fa6d838c200b02eba7f606b883627683fa9
URL:    
http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=aa361fa6d838c200b02eba7f606b883627683fa9

Author: Jan Kiszka <jan.kis...@siemens.com>
Date:   Wed Nov 11 14:22:04 2009 +0100

nucleus: Fix build warning of thread_fault instrumentation

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>

---

 ksrc/nucleus/pod.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ksrc/nucleus/pod.c b/ksrc/nucleus/pod.c
index 0911a7f..fb356c5 100644
--- a/ksrc/nucleus/pod.c
+++ b/ksrc/nucleus/pod.c
@@ -2542,7 +2542,8 @@ int xnpod_trap_fault(xnarch_fltinfo_t *fltinfo)
 
        trace_mark(xn_nucleus, thread_fault,
                   "thread %p thread_name %s ip %p type %d",
-                  thread, xnthread_name(thread), xnarch_fault_pc(fltinfo),
+                  thread, xnthread_name(thread),
+                  (void *)xnarch_fault_pc(fltinfo),
                   xnarch_fault_trap(fltinfo));
 
 #ifdef __KERNEL__


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to