Fix builds where HAVE_MQUEUE_H isn't defined

Android doesn't have <mqueue.h>.

* ipc.c (sys_mq_open) [!HAVE_MQUEUE_H]: Fix printaddr invocation.
This commit is contained in:
Elliott Hughes 2015-07-28 22:39:12 +00:00 committed by Dmitry V. Levin
parent afa10d877c
commit e46534351d

2
ipc.c
View File

@ -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;