From: Denys Vlasenko Date: Fri, 24 Jun 2011 21:07:24 +0000 (+0200) Subject: Make IOCTL_WSTOP more readable X-Git-Tag: v4.7~340 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9015cd9f9e33d4457bdb50dbafe1ce943a5f3a96;p=strace Make IOCTL_WSTOP more readable * defs.h: Make IOCTL_WSTOP more readable Signed-off-by: Denys Vlasenko --- diff --git a/defs.h b/defs.h index d3d8916e..0e80868d 100644 --- 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