summaryrefslogtreecommitdiffstats
path: root/module/spl
diff options
context:
space:
mode:
Diffstat (limited to 'module/spl')
-rw-r--r--module/spl/spl-kmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/spl/spl-kmem.c b/module/spl/spl-kmem.c
index ec1ccb4ce..53aefee14 100644
--- a/module/spl/spl-kmem.c
+++ b/module/spl/spl-kmem.c
@@ -295,7 +295,7 @@ EXPORT_SYMBOL(strdup);
void
strfree(char *str)
{
- kmem_free(str, strlen(str) + 1);
+ kfree(str);
}
EXPORT_SYMBOL(strfree);