projects
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
loop: preallocate eight loop devices
[linux-2.6]
/
fs
/
proc
/
proc_devtree.c
diff --git
a/fs/proc/proc_devtree.c
b/fs/proc/proc_devtree.c
index
abdf068
..
eca471b
100644
(file)
--- a/
fs/proc/proc_devtree.c
+++ b/
fs/proc/proc_devtree.c
@@
-38,7
+38,7
@@
static int property_read_proc(char *page, char **start, off_t off,
n = count;
else
*eof = 1;
- memcpy(page, pp->value + off, n);
+ memcpy(page,
(char *)
pp->value + off, n);
*start = page;
return n;
}