about summary refs log tree commit diff
path: root/sysdeps/arc/nptl/tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/arc/nptl/tls.h')
-rw-r--r--sysdeps/arc/nptl/tls.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/arc/nptl/tls.h b/sysdeps/arc/nptl/tls.h
index 7fc6602b23..948e618a3a 100644
--- a/sysdeps/arc/nptl/tls.h
+++ b/sysdeps/arc/nptl/tls.h
@@ -75,8 +75,7 @@ typedef struct
 	long result_var;					\
 	__builtin_set_thread_pointer (tcbp);     		\
 	result_var = INTERNAL_SYSCALL_CALL (arc_settls, (tcbp));\
-	INTERNAL_SYSCALL_ERROR_P (result_var)			\
-	  ? "settls syscall error" : NULL;			\
+	!INTERNAL_SYSCALL_ERROR_P (result_var);			\
    })
 
 /* Value passed to 'clone' for initialization of the thread register.  */