diff --git a/lib/kobject.c b/lib/kobject.c
index b7e29a6056d3eb583728f0f381eaab07a61cfd03..4a1f33d435483c850d7b8b28f2409e19fc8ebf8c 100644
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -805,7 +805,7 @@ static struct kset *kset_create(const char *name,
 	kset = kzalloc(sizeof(*kset), GFP_KERNEL);
 	if (!kset)
 		return NULL;
-	retval = kobject_set_name(&kset->kobj, name);
+	retval = kobject_set_name(&kset->kobj, "%s", name);
 	if (retval) {
 		kfree(kset);
 		return NULL;