Commit 71409a49 authored by Johannes Berg's avatar Johannes Berg Committed by Greg Kroah-Hartman

kobject: two typo fixes

This fixes two typos from commit
34358c26.
Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 1f4ebbbf
...@@ -313,8 +313,8 @@ int kobject_rename(struct kobject * kobj, const char *new_name) ...@@ -313,8 +313,8 @@ int kobject_rename(struct kobject * kobj, const char *new_name)
struct kobject *temp_kobj; struct kobject *temp_kobj;
temp_kobj = kset_find_obj(kobj->kset, new_name); temp_kobj = kset_find_obj(kobj->kset, new_name);
if (temp_kobj) { if (temp_kobj) {
printk(KERN_WARNING "kobject '%s' can not be renamed " printk(KERN_WARNING "kobject '%s' cannot be renamed "
"to '%s' as '%s' is already in existance.\n", "to '%s' as '%s' is already in existence.\n",
kobject_name(kobj), new_name, new_name); kobject_name(kobj), new_name, new_name);
kobject_put(temp_kobj); kobject_put(temp_kobj);
return -EINVAL; return -EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment