From e46534351d91a214e07f958cfcbb3cc85051cbcb Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 28 Jul 2015 22:39:12 +0000 Subject: [PATCH] Fix builds where HAVE_MQUEUE_H isn't defined Android doesn't have . * ipc.c (sys_mq_open) [!HAVE_MQUEUE_H]: Fix printaddr invocation. --- ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipc.c b/ipc.c index 33f48720..52a1d7ac 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;