diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2011-07-03 18:23:11 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2011-07-03 18:23:11 +0000 |
commit | b143acad53997e80abc8f2a0dba6401399af8e26 (patch) | |
tree | 0906d76bf5d55167bc440fd87813a812419287f0 /sys/ufs/ffs/ffs_vfsops.c | |
parent | 767d41f3616fb1e153fbee01653f2bf97897f4b1 (diff) |
correctify NULL 0 confusion
Diffstat (limited to 'sys/ufs/ffs/ffs_vfsops.c')
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index 7e9adadbcd0..4514f28eb76 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_vfsops.c,v 1.130 2011/07/02 16:23:47 krw Exp $ */ +/* $OpenBSD: ffs_vfsops.c,v 1.131 2011/07/03 18:23:10 tedu Exp $ */ /* $NetBSD: ffs_vfsops.c,v 1.19 1996/02/09 22:22:26 christos Exp $ */ /* @@ -149,7 +149,8 @@ ffs_mountroot(void) CIRCLEQ_INSERT_TAIL(&mountlist, mp, mnt_list); ump = VFSTOUFS(mp); fs = ump->um_fs; - (void) copystr(mp->mnt_stat.f_mntonname, fs->fs_fsmnt, MNAMELEN - 1, 0); + (void)copystr(mp->mnt_stat.f_mntonname, fs->fs_fsmnt, MNAMELEN - 1, + NULL); (void)ffs_statfs(mp, &mp->mnt_stat, p); vfs_unbusy(mp); inittodr(fs->fs_time); |