Ensure correct return value type

When compiling with musl libc the return type will be incorrect.

Signed-off-by: Carlo Landmeter <clandmeter@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4454
This commit is contained in:
Carlo Landmeter 2016-03-01 15:32:52 +01:00 committed by Brian Behlendorf
parent 6d723925cf
commit 1a01c207cb
1 changed files with 1 additions and 1 deletions

View File

@ -637,7 +637,7 @@ extern void delay(clock_t ticks);
#define maxclsyspri -20 #define maxclsyspri -20
#define defclsyspri 0 #define defclsyspri 0
#define CPU_SEQID (pthread_self() & (max_ncpus - 1)) #define CPU_SEQID ((uintptr_t)pthread_self() & (max_ncpus - 1))
#define kcred NULL #define kcred NULL
#define CRED() NULL #define CRED() NULL