aboutsummaryrefslogtreecommitdiff
path: root/arch/um/drivers/cow_sys.h
diff options
context:
space:
mode:
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>2006-02-24 13:03:53 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-24 14:31:36 -0800
commit31bc5a33346b6dd35be219d1416449e0064e9123 (patch)
treece4c3d105b5ec6cfa69b8300a885c9c26908eafe /arch/um/drivers/cow_sys.h
parentb1a3aa209161af3b7ca8ce8eae89b15faa96f612 (diff)
[PATCH] uml: correct error messages in COW driver
Improve some error messages in the COW driver, and say V3, not V2, when talking about V3 format. Also resync with our userspace code utility a bit more. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Acked-by: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/drivers/cow_sys.h')
-rw-r--r--arch/um/drivers/cow_sys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/cow_sys.h b/arch/um/drivers/cow_sys.h
index c83fc5d6893..df25263d2ad 100644
--- a/arch/um/drivers/cow_sys.h
+++ b/arch/um/drivers/cow_sys.h
@@ -33,7 +33,7 @@ static inline int cow_file_size(char *file, unsigned long long *size_out)
return(os_file_size(file, size_out));
}
-static inline int cow_write_file(int fd, char *buf, int size)
+static inline int cow_write_file(int fd, void *buf, int size)
{
return(os_write_file(fd, buf, size));
}