Commit a597327a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Use Linux kernel syntax instead of old Unix for Linux syscalls

The code is Linux-specific anyway.
parent cf87024c
......@@ -143,7 +143,7 @@ static inline unsigned long vlc_threadid (void)
{
#if defined (__linux__)
/* glibc does not provide a call for this */
return syscall (SYS_gettid);
return syscall (__NR_gettid);
#else
union { pthread_t th; unsigned long int i; } v = { };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment