wok-current diff linux/stuff/linux-hotfix-2.6.30.4.u @ rev 4276

minicom: fix build with glibc-2.10
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 26 00:15:15 2009 +0200 (2009-09-26)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/linux/stuff/linux-hotfix-2.6.30.4.u	Sat Sep 26 00:15:15 2009 +0200
     1.3 @@ -0,0 +1,11 @@
     1.4 +--- linux-2.6.30.4/net/socket.c
     1.5 ++++ linux-2.6.30.4/net/socket.c
     1.6 +@@ -736,7 +736,7 @@
     1.7 + 	if (more)
     1.8 + 		flags |= MSG_MORE;
     1.9 + 
    1.10 +-	return sock->ops->sendpage(sock, page, offset, size, flags);
    1.11 ++	return kernel_sendpage(sock, page, offset, size, flags);
    1.12 + }
    1.13 + 
    1.14 + static ssize_t sock_splice_read(struct file *file, loff_t *ppos,