1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00

Use NULL instead of 0 when setting up pointer.

This commit is contained in:
Pawel Jakub Dawidek 2010-02-18 22:12:40 +00:00
parent 6619e90994
commit 0454fe84e4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=204064

View File

@ -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);