* Copyright (c) 1996-1999 Wichert Akkerman <wichert@cistron.nl>
* Copyright (c) 2003-2006 Roland McGrath <roland@redhat.com>
* Copyright (c) 2006-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, tprint_msgbuf, struct tcb *const tcp,
- const kernel_ureg_t addr, const kernel_ureg_t count)
+ const kernel_ulong_t addr, const kernel_ulong_t count)
{
msgbuf_t msg;
printstrn(tcp, addr + sizeof(msg.mtype), count);
tprints("}");
}
- tprintf(", %lu, ", count);
+ tprintf(", %" PRI_klu ", ", count);
}