diff options
Diffstat (limited to 'sysdeps/csky')
-rw-r--r-- | sysdeps/csky/nptl/tls.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/csky/nptl/tls.h b/sysdeps/csky/nptl/tls.h index 58d6ab0..3f7afc9 100644 --- a/sysdeps/csky/nptl/tls.h +++ b/sysdeps/csky/nptl/tls.h @@ -92,8 +92,7 @@ typedef struct ({ long int result_var; \ result_var = INTERNAL_SYSCALL_CALL (set_thread_area, \ (char *) (tcbp) + TLS_TCB_OFFSET); \ - INTERNAL_SYSCALL_ERROR_P (result_var) \ - ? "unknown error" : NULL; }) + !INTERNAL_SYSCALL_ERROR_P (result_var); }) /* Return the address of the dtv for the current thread. */ # define THREAD_DTV() \ |