Date: Thu, 18 Feb 2010 22:12:40 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r204064 - head/sys/kern Message-ID: <201002182212.o1IMCeGM093230@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002182212.o1IMCeGM093230>