]> granicus.if.org Git - strace/blobdiff - oldstat.c
nlattr: add UID/GID netlink attribute decoders
[strace] / oldstat.c
index df7e13a3e9c201b5ac583d77159aaa8122144362..1caa2bf7cc17c9448444d0ac025b2676261f3c42 100644 (file)
--- a/oldstat.c
+++ b/oldstat.c
@@ -4,6 +4,7 @@
  * Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com>
  * Copyright (c) 1996-1999 Wichert Akkerman <wichert@cistron.nl>
  * 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
@@ -36,7 +37,7 @@
 #ifdef HAVE_STRUCT___OLD_KERNEL_STAT
 
 static void
-print_old_kernel_stat(struct tcb *const tcp, const kernel_ureg_t addr)
+print_old_kernel_stat(struct tcb *const tcp, const kernel_ulong_t addr)
 {
        struct __old_kernel_stat buf;
        if (umove_or_printaddr(tcp, addr, &buf))