diff options
author | kevlo <kevlo@FreeBSD.org> | 2012-03-13 10:04:13 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2012-03-13 10:04:13 +0000 |
commit | af6e15978bd9add0d2d5418ff226ef159c430d36 (patch) | |
tree | 68dc9cb24fb4e9dcea1141e07527c0c5e934fa98 /sys/fs/fdescfs | |
parent | ffaa080e67a7f9d93841c0fdff2afac0b9b099b4 (diff) | |
download | FreeBSD-src-af6e15978bd9add0d2d5418ff226ef159c430d36.zip FreeBSD-src-af6e15978bd9add0d2d5418ff226ef159c430d36.tar.gz |
Use NULL instead of 0
Diffstat (limited to 'sys/fs/fdescfs')
-rw-r--r-- | sys/fs/fdescfs/fdesc_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/fdescfs/fdesc_vfsops.c b/sys/fs/fdescfs/fdesc_vfsops.c index 2f29f68..dc88278 100644 --- a/sys/fs/fdescfs/fdesc_vfsops.c +++ b/sys/fs/fdescfs/fdesc_vfsops.c @@ -98,7 +98,7 @@ fdesc_mount(struct mount *mp) error = fdesc_allocvp(Froot, -1, FD_ROOT, mp, &rvp); if (error) { free(fmp, M_FDESCMNT); - mp->mnt_data = 0; + mp->mnt_data = NULL; return (error); } rvp->v_type = VDIR; @@ -152,7 +152,7 @@ fdesc_unmount(mp, mntflags) */ mtx_lock(&fdesc_hashmtx); data = mp->mnt_data; - mp->mnt_data = 0; + mp->mnt_data = NULL; mtx_unlock(&fdesc_hashmtx); free(data, M_FDESCMNT); /* XXX */ |