]> granicus.if.org Git - strace/commitdiff
Make IOCTL_WSTOP more readable
authorDenys Vlasenko <dvlasenk@redhat.com>
Fri, 24 Jun 2011 21:07:24 +0000 (23:07 +0200)
committerDenys Vlasenko <dvlasenk@redhat.com>
Fri, 24 Jun 2011 21:07:24 +0000 (23:07 +0200)
* defs.h: Make IOCTL_WSTOP more readable

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
defs.h

diff --git a/defs.h b/defs.h
index d3d8916e783d41a848c132dec275a0e9c673ad64..0e80868dab5d321e18aa49fb8e1715df2e13f1b0 100644 (file)
--- a/defs.h
+++ b/defs.h
@@ -259,9 +259,8 @@ extern int mp_ioctl(int f, int c, void *a, int s);
 #define IOCTL(f,c,a)   mp_ioctl(f, c, a, sizeof *a)
 #define IOCTL_STATUS(t) \
         pread(t->pfd_stat, &t->status, sizeof t->status, 0)
-#define IOCTL_WSTOP(t)                                         \
-       (IOCTL(t->pfd, PCWSTOP, (char *)NULL) < 0 ? -1 :                \
-        IOCTL_STATUS(t))
+#define IOCTL_WSTOP(t) \
+       (IOCTL(t->pfd, PCWSTOP, (char *)NULL) < 0 ? -1 : IOCTL_STATUS(t))
 #define PR_WHY         pr_lwp.pr_why
 #define PR_WHAT                pr_lwp.pr_what
 #define PR_REG         pr_lwp.pr_context.uc_mcontext.gregs