summaryrefslogtreecommitdiffstats
path: root/sys/lib/libsa/nfs.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2016-03-14 23:08:05 +0000
committerkrw <krw@openbsd.org>2016-03-14 23:08:05 +0000
commit14bf419f0193f560448b4c9cec27c0972df1e3ea (patch)
tree7550daa0595781b3f7f24301a1386f453af989bd /sys/lib/libsa/nfs.c
parentsome Xr; from michal mazurek (diff)
downloadwireguard-openbsd-14bf419f0193f560448b4c9cec27c0972df1e3ea.tar.xz
wireguard-openbsd-14bf419f0193f560448b4c9cec27c0972df1e3ea.zip
Change a bunch of (<blah> *)0 to NULL.
ok beck@ deraadt@
Diffstat (limited to 'sys/lib/libsa/nfs.c')
-rw-r--r--sys/lib/libsa/nfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/libsa/nfs.c b/sys/lib/libsa/nfs.c
index 2b85570a652..e621f09adec 100644
--- a/sys/lib/libsa/nfs.c
+++ b/sys/lib/libsa/nfs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs.c,v 1.13 2015/08/15 19:40:59 miod Exp $ */
+/* $OpenBSD: nfs.c,v 1.14 2016/03/14 23:08:06 krw Exp $ */
/* $NetBSD: nfs.c,v 1.19 1996/10/13 02:29:04 christos Exp $ */
/*-
@@ -504,7 +504,7 @@ nfs_close(struct open_file *f)
if (fp)
free(fp, sizeof(struct nfs_iodesc));
- f->f_fsdata = (void *)0;
+ f->f_fsdata = NULL;
return (0);
}