summaryrefslogtreecommitdiff
path: root/sys/msdosfs/msdosfs_vnops.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2016-03-14 23:08:07 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2016-03-14 23:08:07 +0000
commitf779382c98d99e6d7457e2c790d177db942b5af3 (patch)
treed934e1330cc5a274507d31acd79e0912bd7753c0 /sys/msdosfs/msdosfs_vnops.c
parent178b3485055aca748b4147efb3bd65e18a4f77a6 (diff)
Change a bunch of (<blah> *)0 to NULL.
ok beck@ deraadt@
Diffstat (limited to 'sys/msdosfs/msdosfs_vnops.c')
-rw-r--r--sys/msdosfs/msdosfs_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/msdosfs/msdosfs_vnops.c b/sys/msdosfs/msdosfs_vnops.c
index b3c9db1de6d..35115b6876d 100644
--- a/sys/msdosfs/msdosfs_vnops.c
+++ b/sys/msdosfs/msdosfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: msdosfs_vnops.c,v 1.107 2016/02/05 19:27:02 stefan Exp $ */
+/* $OpenBSD: msdosfs_vnops.c,v 1.108 2016/03/14 23:08:06 krw Exp $ */
/* $NetBSD: msdosfs_vnops.c,v 1.63 1997/10/17 11:24:19 ws Exp $ */
/*-
@@ -1153,7 +1153,7 @@ abortit:
bcopy(toname, ip->de_Name, 11); /* update denode */
dp->de_fndoffset = to_diroffset;
dp->de_fndcnt = to_count;
- error = createde(ip, dp, (struct denode **)0, tcnp);
+ error = createde(ip, dp, NULL, tcnp);
if (error) {
bcopy(oldname, ip->de_Name, 11);
if (newparent)