projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f4ebbb
)
kobject: two typo fixes
author
Johannes Berg
<johannes@sipsolutions.net>
Mon, 5 Nov 2007 12:59:11 +0000
(13:59 +0100)
committer
Greg 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
patch
|
blob
|
history
diff --git
a/lib/kobject.c
b/lib/kobject.c
index
a7e3bf4
..
b52e9f4
100644
(file)
--- 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 exist
a
nce.\n",
+ printk(KERN_WARNING "kobject '%s' cannot be renamed "
+ "to '%s' as '%s' is already in exist
e
nce.\n",
kobject_name(kobj), new_name, new_name);
kobject_put(temp_kobj);
return -EINVAL;