From 0454fe84e424c96cc0ca34f5dbce83a8ae4a6c5e Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Thu, 18 Feb 2010 22:12:40 +0000 Subject: [PATCH] Use NULL instead of 0 when setting up pointer. --- sys/kern/uipc_syscalls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/uipc_syscalls.c b/sys/kern/uipc_syscalls.c index a9001d96c226..c3e755bb834d 100644 --- a/sys/kern/uipc_syscalls.c +++ b/sys/kern/uipc_syscalls.c @@ -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);