[PATCH] fix builds where HAVE_MQUEUE_H isn't defined

enh enh at google.com
Tue Jul 28 00:49:48 UTC 2015


Android doesn't have <mqueue.h>.

diff --git a/ipc.c b/ipc.c
index 33f4872..52a1d7a 100644
--- a/ipc.c
+++ b/ipc.c
@@ -342,7 +342,7 @@ SYS_FUNC(mq_open)
 		/* mode */
 		tprintf(", %#lo, ", tcp->u_arg[2]);
 # ifndef HAVE_MQUEUE_H
-		printaddr(tcp, tcp->u_arg[3]);
+		printaddr(tcp->u_arg[3]);
 # else
 		struct mq_attr attr;




More information about the Strace-devel mailing list