diff options
Diffstat (limited to 'libdde-linux26/contrib/lib/kobject.c')
-rw-r--r-- | libdde-linux26/contrib/lib/kobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdde-linux26/contrib/lib/kobject.c b/libdde-linux26/contrib/lib/kobject.c index 0487d1f6..a1682ef4 100644 --- a/libdde-linux26/contrib/lib/kobject.c +++ b/libdde-linux26/contrib/lib/kobject.c @@ -794,7 +794,7 @@ static struct kset *kset_create(const char *name, kset = kzalloc(sizeof(*kset), GFP_KERNEL); if (!kset) return NULL; - kobject_set_name(&kset->kobj, name); + kobject_set_name(&kset->kobj, "%s", name); kset->uevent_ops = uevent_ops; kset->kobj.parent = parent_kobj; |