aboutsummaryrefslogtreecommitdiff
path: root/module/os/freebsd/spl/spl_string.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/os/freebsd/spl/spl_string.c')
-rw-r--r--module/os/freebsd/spl/spl_string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/os/freebsd/spl/spl_string.c b/module/os/freebsd/spl/spl_string.c
index d13b64b4cd26..00b1df766ab9 100644
--- a/module/os/freebsd/spl/spl_string.c
+++ b/module/os/freebsd/spl/spl_string.c
@@ -102,6 +102,6 @@ kmem_asprintf(const char *fmt, ...)
void
kmem_strfree(char *str)
{
- ASSERT(str != NULL);
+ ASSERT3P(str, !=, NULL);
kmem_free(str, strlen(str) + 1);
}