]> granicus.if.org Git - strace/blobdiff - mount.c
Print kernel_ureg_t and kernel_scno_t using dedicated format strings
[strace] / mount.c
diff --git a/mount.c b/mount.c
index cf3afe3370184cd8f321c25d9f8778056e1c365c..7251c5a75f1c727859296be0d0eeb9cc6fd10c16 100644 (file)
--- a/mount.c
+++ b/mount.c
@@ -42,7 +42,7 @@ SYS_FUNC(mount)
        bool ignore_type = false;
        bool ignore_data = false;
        bool old_magic = false;
-       unsigned long flags = tcp->u_arg[3];
+       kernel_ureg_t flags = tcp->u_arg[3];
 
        /* Discard magic */
        if ((flags & MS_MGC_MSK) == MS_MGC_VAL) {
@@ -74,7 +74,7 @@ SYS_FUNC(mount)
                        tprints("|");
        }
        if (flags || !old_magic)
-               printflags_long(mount_flags, flags, "MS_???");
+               printflags64(mount_flags, flags, "MS_???");
        tprints(", ");
 
        if (ignore_data)