]> granicus.if.org Git - strace/blobdiff - clone.c
tests: check decoding of netlink smc_diag_msg attributes
[strace] / clone.c
diff --git a/clone.c b/clone.c
index a1c799a698625ea0a70bbf943eb58ca4ce091d27..a5f2b242e86926fec3e43faa14c4f5026ea4f1da 100644 (file)
--- a/clone.c
+++ b/clone.c
@@ -109,7 +109,7 @@ SYS_FUNC(clone)
                                tcp->u_arg[ARG_STACKSIZE]);
 #endif
                tprints("flags=");
-               if (!printflags64(clone_flags, flags &CSIGNAL, NULL))
+               if (!printflags64(clone_flags, flags & ~CSIGNAL, NULL))
                        sep = "";
                if ((flags & CSIGNAL) != 0)
                        tprintf("%s%s", sep, signame(flags & CSIGNAL));