diff options
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index 4f66c4e2cf..bd481ddc70 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -994,7 +994,7 @@ static int timer_thread_pipe_owner_process; #define TT_DEBUG 0 -#define WRITE_CONST(fd, str) write((fd),(str),sizeof(str)-1); +#define WRITE_CONST(fd, str) (void)(write((fd),(str),sizeof(str)-1)<0) /* only use signal-safe system calls here */ void |