Fix definition for recv_dgram(..); it should be "ssize_t", not "int"
I'm not sure why this wasn't flagged as an issue by the compiler, yet MFC after: 3 weeks X-MFC with: r310586
This commit is contained in:
parent
0ba351ef58
commit
2bc1d16ea7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=310587
@ -236,7 +236,7 @@ check_priv_dgram(struct port_input *pi, struct sockcred *cred)
|
||||
* Input from a datagram socket.
|
||||
* Each receive should return one datagram.
|
||||
*/
|
||||
static int
|
||||
static ssize_t
|
||||
recv_dgram(struct port_input *pi, struct in_addr *laddr)
|
||||
{
|
||||
u_char embuf[1000];
|
||||
|
Loading…
Reference in New Issue
Block a user