From 570314dd90df827df3de7a0f249936bc5b8f055a Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Sat, 24 Dec 2016 22:58:16 +0000 Subject: [PATCH] mount: change flags type from unsigned long to kernel_ureg_t * mount.c (SYS_FUNC(mount)): Change the type of flags from unsigned long to kernel_ureg_t, use printflags64 instead of printflags_long to print it. --- mount.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mount.c b/mount.c index cf3afe33..7251c5a7 100644 --- 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) -- 2.40.0