mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-13 20:33:15 +00:00
kobject: two typo fixes
This fixes two typos from commit
34358c26a2
.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
1f4ebbbf18
commit
71409a498e
@ -313,8 +313,8 @@ int kobject_rename(struct kobject * kobj, const char *new_name)
|
||||
struct kobject *temp_kobj;
|
||||
temp_kobj = kset_find_obj(kobj->kset, new_name);
|
||||
if (temp_kobj) {
|
||||
printk(KERN_WARNING "kobject '%s' can not be renamed "
|
||||
"to '%s' as '%s' is already in existance.\n",
|
||||
printk(KERN_WARNING "kobject '%s' cannot be renamed "
|
||||
"to '%s' as '%s' is already in existence.\n",
|
||||
kobject_name(kobj), new_name, new_name);
|
||||
kobject_put(temp_kobj);
|
||||
return -EINVAL;
|
||||
|
Loading…
Reference in New Issue
Block a user