]> err.no Git - linux-2.6/commitdiff
kobject: two typo fixes
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 5 Nov 2007 12:59:11 +0000 (13:59 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 28 Nov 2007 21:53:53 +0000 (13:53 -0800)
This fixes two typos from commit
34358c26a2c96b2a068dc44e0ac602106a466bce.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
lib/kobject.c

index a7e3bf4d3c70317273b63003dc18f714a546ac36..b52e9f4ef3719f58c8217deb5e26bdfd59ebaeb9 100644 (file)
@@ -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;