mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue