mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
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:
parent
6d723925cf
commit
1a01c207cb
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user