about summary refs log tree commit diff
path: root/socket
diff options
context:
space:
mode:
Diffstat (limited to 'socket')
-rw-r--r--socket/bits/socket2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket/bits/socket2.h b/socket/bits/socket2.h
index a88c1545dd..2543ea37d4 100644
--- a/socket/bits/socket2.h
+++ b/socket/bits/socket2.h
@@ -45,7 +45,7 @@ extern ssize_t __REDIRECT (__recvfrom_alias,
 			    socklen_t *__restrict __addr_len), recvfrom);
 
 extern __always_inline ssize_t
-recvfrom (int __fd, void *__buf, size_t __n, int __flags,
+recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags,
 	  __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len)
 {
   if (__bos0 (__buf) != (size_t) -1