[PATCH] kobject: two typo fixes

From: Johannes Berg
Date: Mon Nov 05 2007 - 09:50:05 EST


This fixes two typos from commit
34358c26a2c96b2a068dc44e0ac602106a466bce.

Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
---
lib/kobject.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.orig/lib/kobject.c 2007-11-05 13:51:34.004672254 +0100
+++ linux-2.6/lib/kobject.c 2007-11-05 13:51:52.304652018 +0100
@@ -313,8 +313,8 @@ int kobject_rename(struct kobject * kobj
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;


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/