diff options
Diffstat (limited to 'net/socket.c')
-rw-r--r-- | net/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c index 829b460acb87..fea902f2ba58 100644 --- a/net/socket.c +++ b/net/socket.c | |||
@@ -931,7 +931,7 @@ static ssize_t sock_aio_read(struct kiocb *iocb, const struct iovec *iov, | |||
931 | if (pos != 0) | 931 | if (pos != 0) |
932 | return -ESPIPE; | 932 | return -ESPIPE; |
933 | 933 | ||
934 | if (iocb->ki_left == 0) /* Match SYS5 behaviour */ | 934 | if (iocb->ki_nbytes == 0) /* Match SYS5 behaviour */ |
935 | return 0; | 935 | return 0; |
936 | 936 | ||
937 | 937 | ||