svn commit: r204064 - head/sys/kern
Pawel Jakub Dawidek
pjd at FreeBSD.org
Thu Feb 18 22:12:41 UTC 2010
Author: pjd
Date: Thu Feb 18 22:12:40 2010
New Revision: 204064
URL: http://svn.freebsd.org/changeset/base/204064
Log:
Use NULL instead of 0 when setting up pointer.
Modified:
head/sys/kern/uipc_syscalls.c
Modified: head/sys/kern/uipc_syscalls.c
==============================================================================
--- head/sys/kern/uipc_syscalls.c Thu Feb 18 22:10:55 2010 (r204063)
+++ head/sys/kern/uipc_syscalls.c Thu Feb 18 22:12:40 2010 (r204064)
@@ -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);
More information about the svn-src-head
mailing list