Skip to content

Commit

Permalink
kobject: two typo fixes
Browse files Browse the repository at this point in the history
This fixes two typos from commit
34358c2.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Johannes Berg authored and Greg Kroah-Hartman committed Nov 28, 2007
1 parent 1f4ebbb commit 71409a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/kobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 71409a4

Please sign in to comment.