projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: move definition of pcpu_lstats to header file
[linux-2.6-microblaze.git]
/
lib
/
kobject.c
diff --git
a/lib/kobject.c
b/lib/kobject.c
index
389829d
..
97d86dc
100644
(file)
--- a/
lib/kobject.c
+++ b/
lib/kobject.c
@@
-144,7
+144,7
@@
static void fill_kobj_path(struct kobject *kobj, char *path, int length)
int cur = strlen(kobject_name(parent));
/* back up enough to print this name with '/' */
length -= cur;
-
strn
cpy(path + length, kobject_name(parent), cur);
+
mem
cpy(path + length, kobject_name(parent), cur);
*(path + --length) = '/';
}