diff options
author | pfg <pfg@FreeBSD.org> | 2016-04-14 17:06:37 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2016-04-14 17:06:37 +0000 |
commit | 507a1d08d6d155f166c2d5d883a402701faac449 (patch) | |
tree | 29ae3d609eb6ad483f97e249c238e9ae3599da1f /sys/xdr | |
parent | 0a0fe3ee17aa8caef500dd8e14b24958ef0b4124 (diff) | |
download | FreeBSD-src-507a1d08d6d155f166c2d5d883a402701faac449.zip FreeBSD-src-507a1d08d6d155f166c2d5d883a402701faac449.tar.gz |
RPC: for pointers replace 0 with NULL.
These are mostly cosmetical, no functional change.
Found with devel/coccinelle.
Diffstat (limited to 'sys/xdr')
-rw-r--r-- | sys/xdr/xdr_mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/xdr/xdr_mem.c b/sys/xdr/xdr_mem.c index 74bab3b..8a14f17 100644 --- a/sys/xdr/xdr_mem.c +++ b/sys/xdr/xdr_mem.c @@ -214,7 +214,7 @@ xdrmem_setpos(XDR *xdrs, u_int pos) static int32_t * xdrmem_inline_aligned(XDR *xdrs, u_int len) { - int32_t *buf = 0; + int32_t *buf = NULL; if (xdrs->x_handy >= len) { xdrs->x_handy -= len; |