]> granicus.if.org Git - strace/blobdiff - mount.c
Introduce generic STRINGIFY and STRINGIFY_VAL macros
[strace] / mount.c
diff --git a/mount.c b/mount.c
index 7251c5a75f1c727859296be0d0eeb9cc6fd10c16..7df0e68e18fb60105782933ef5985b3295c68868 100644 (file)
--- a/mount.c
+++ b/mount.c
@@ -5,6 +5,7 @@
  * Copyright (c) 1996-1999 Wichert Akkerman <wichert@cistron.nl>
  * Copyright (c) 2005 Roland McGrath <roland@redhat.com>
  * Copyright (c) 2007-2015 Dmitry V. Levin <ldv@altlinux.org>
+ * Copyright (c) 2014-2017 The strace developers.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -42,7 +43,7 @@ SYS_FUNC(mount)
        bool ignore_type = false;
        bool ignore_data = false;
        bool old_magic = false;
-       kernel_ureg_t flags = tcp->u_arg[3];
+       kernel_ulong_t flags = tcp->u_arg[3];
 
        /* Discard magic */
        if ((flags & MS_MGC_MSK) == MS_MGC_VAL) {