Commit 4f297d1a authored by Benjamin LaHaise's avatar Benjamin LaHaise

Merge toomuch-wiznet:/md0/net-2.5 into bob.home.kvack.org:/bcrl/net-2.5

parents 411c1a17 eab2ad5a
......@@ -92,7 +92,7 @@
static int sock_no_open(struct inode *irrelevant, struct file *dontcare);
static ssize_t sock_aio_read(struct kiocb *iocb, char *buf,
size_t size, loff_t pos);
static ssize_t sock_aio_write(struct kiocb *iocb, char *buf,
static ssize_t sock_aio_write(struct kiocb *iocb, const char *buf,
size_t size, loff_t pos);
static int sock_mmap(struct file *file, struct vm_area_struct * vma);
......@@ -619,7 +619,7 @@ static ssize_t sock_aio_read(struct kiocb *iocb, char *ubuf,
* is readable by the user process.
*/
static ssize_t sock_aio_write(struct kiocb *iocb, char *ubuf,
static ssize_t sock_aio_write(struct kiocb *iocb, const char *ubuf,
size_t size, loff_t pos)
{
struct sock_iocb *x = kiocb_to_siocb(iocb);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment