Module: xenomai-forge
Branch: next
Commit: c421e9d99e23e806d681d0c7687a86bc70a70176
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=c421e9d99e23e806d681d0c7687a86bc70a70176

Author: Philippe Gerum <r...@xenomai.org>
Date:   Thu Sep 25 17:18:54 2014 +0200

cobalt/posix/syscall: hexify output of bad syscall nr

---

 kernel/cobalt/posix/syscall.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/cobalt/posix/syscall.c b/kernel/cobalt/posix/syscall.c
index 384c13a..550f57a 100644
--- a/kernel/cobalt/posix/syscall.c
+++ b/kernel/cobalt/posix/syscall.c
@@ -277,7 +277,7 @@ linux_syscall:
        return KEVENT_PROPAGATE;
 
 bad_syscall:
-       printk(XENO_WARN "bad syscall <%ld>\n", __xn_syscall(regs));
+       printk(XENO_WARN "bad syscall <%#lx>\n", __xn_syscall(regs));
        
        __xn_error_return(regs, -ENOSYS);
 


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to