]> granicus.if.org Git - strace/blobdiff - print_msgbuf.c
travis: add build environment information to the travis log
[strace] / print_msgbuf.c
index 3695135cd6731f1f98d0bcbb9d60f57096ecc7e9..0a3147ca104ead7964e41aceb76a7a3150618543 100644 (file)
@@ -5,6 +5,7 @@
  * 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
@@ -39,7 +40,7 @@ typedef struct msgbuf msgbuf_t;
 #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;
 
@@ -48,5 +49,5 @@ MPERS_PRINTER_DECL(void, tprint_msgbuf, struct tcb *const tcp,
                printstrn(tcp, addr + sizeof(msg.mtype), count);
                tprints("}");
        }
-       tprintf(", %" PRI_kru ", ", count);
+       tprintf(", %" PRI_klu ", ", count);
 }