From 9015cd9f9e33d4457bdb50dbafe1ce943a5f3a96 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko <dvlasenk@redhat.com> Date: Fri, 24 Jun 2011 23:07:24 +0200 Subject: [PATCH] Make IOCTL_WSTOP more readable * defs.h: Make IOCTL_WSTOP more readable Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com> --- defs.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.40.0