diff options
-rw-r--r-- | lib/libspl/include/sys/kmem.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libspl/include/sys/kmem.h b/lib/libspl/include/sys/kmem.h index 83d47565a..06c614e51 100644 --- a/lib/libspl/include/sys/kmem.h +++ b/lib/libspl/include/sys/kmem.h @@ -35,8 +35,8 @@ extern "C" { #define KM_SLEEP 0x00000000 /* same as KM_SLEEP */ #define KM_NOSLEEP 0x00000001 /* same as KM_NOSLEEP */ -#define kmem_alloc(size, flags) malloc(size) -#define kmem_free(ptr, size) free(ptr) +#define kmem_alloc(size, flags) ((void) sizeof (flags), malloc(size)) +#define kmem_free(ptr, size) ((void) sizeof (size), free(ptr)) #ifdef __cplusplus } |