/*
* Copyright (c) 2004 Ulrich Drepper <drepper@redhat.com>
* Copyright (c) 2005-2015 Dmitry V. Levin <ldv@altlinux.org>
+ * Copyright (c) 2015-2017 The strace developers.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
#include MPERS_DEFS
MPERS_PRINTER_DECL(void, printmqattr, struct tcb *const tcp,
- const kernel_ureg_t addr, const bool decode_flags)
+ const kernel_ulong_t addr, const bool decode_flags)
{
#if defined HAVE_MQUEUE_H || defined HAVE_LINUX_MQUEUE_H
mq_attr_t attr;
if (decode_flags)
printflags64(mq_attr_flags,
zero_extend_signed_to_ull(attr.mq_flags),
- "/* O_??? */");
+ "O_???");
else
tprintf("%#llx", zero_extend_signed_to_ull(attr.mq_flags));
tprintf(", mq_maxmsg=%lld, mq_msgsize=%lld, mq_curmsgs=%lld}",