mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-03 23:28:58 +00:00
Use NULL instead of 0 when setting up pointer.
This commit is contained in:
parent
6619e90994
commit
0454fe84e4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=204064
|
@ -941,8 +941,8 @@ kern_recvit(td, s, mp, fromseg, controlp)
|
|||
struct uio *ktruio = NULL;
|
||||
#endif
|
||||
|
||||
if(controlp != NULL)
|
||||
*controlp = 0;
|
||||
if (controlp != NULL)
|
||||
*controlp = NULL;
|
||||
|
||||
AUDIT_ARG_FD(s);
|
||||
error = getsock(td->td_proc->p_fd, s, &fp, NULL);
|
||||
|
|
Loading…
Reference in a new issue