[PATCH 5/6] kobject: two typo fixes

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Cc: Johannes Berg <johannes@...>, Greg Kroah-Hartman <gregkh@...>
Date: Wednesday, November 28, 2007 - 6:52 pm

From: Johannes Berg <johannes@sipsolutions.net>

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 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/kobject.c b/lib/kobject.c
index a7e3bf4..b52e9f4 100644
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -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;
-- 
1.5.3.4

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT PATCH] driver core fixes for 2.6.24-rc3, Greg KH, (Wed Nov 28, 6:47 pm)
[PATCH 6/6] sysfs: fix off-by-one error in fill_read_buffer(), Greg Kroah-Hartman, (Wed Nov 28, 6:52 pm)
[PATCH 2/6] create /sys/.../power when CONFIG_PM is set, Greg Kroah-Hartman, (Wed Nov 28, 6:52 pm)
[PATCH 3/6] UIO: fix up the UIO documentation, Greg Kroah-Hartman, (Wed Nov 28, 6:52 pm)
[PATCH 5/6] kobject: two typo fixes, Greg Kroah-Hartman, (Wed Nov 28, 6:52 pm)
[PATCH 4/6] UIO: add UIO documentation target to DocBook Mak..., Greg Kroah-Hartman, (Wed Nov 28, 6:52 pm)
[PATCH 1/6] allow LEGACY_PTYS to be set to 0, Greg Kroah-Hartman, (Wed Nov 28, 6:52 pm)