summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/cow_sys.h
diff options
context:
space:
mode:
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 c83fc5d68936..df25263d2ad0 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));
}
OpenPOWER on IntegriCloud