diff options
-rw-r--r-- | lib/libspl/include/umem.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libspl/include/umem.h b/lib/libspl/include/umem.h index 68ff9a576..0d0778cfb 100644 --- a/lib/libspl/include/umem.h +++ b/lib/libspl/include/umem.h @@ -109,6 +109,8 @@ umem_alloc_aligned(size_t size, size_t align, int flags) return (NULL); } + ASSERT0(P2PHASE_TYPED(ptr, align, uint64_t)); + return (ptr); } |