aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kobject.c')
-rw-r--r--lib/kobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kobject.c b/lib/kobject.c
index a7e3bf4d3c70..b52e9f4ef371 100644
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -313,8 +313,8 @@ int kobject_rename(struct kobject * kobj, const char *new_name)
313 struct kobject *temp_kobj; 313 struct kobject *temp_kobj;
314 temp_kobj = kset_find_obj(kobj->kset, new_name); 314 temp_kobj = kset_find_obj(kobj->kset, new_name);
315 if (temp_kobj) { 315 if (temp_kobj) {
316 printk(KERN_WARNING "kobject '%s' can not be renamed " 316 printk(KERN_WARNING "kobject '%s' cannot be renamed "
317 "to '%s' as '%s' is already in existance.\n", 317 "to '%s' as '%s' is already in existence.\n",
318 kobject_name(kobj), new_name, new_name); 318 kobject_name(kobj), new_name, new_name);
319 kobject_put(temp_kobj); 319 kobject_put(temp_kobj);
320 return -EINVAL; 320 return -EINVAL;