diff options
author | kevlo <kevlo@FreeBSD.org> | 2012-03-04 09:38:20 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2012-03-04 09:38:20 +0000 |
commit | 65436963c56aab4cec5a18ff2990989cf9d13d59 (patch) | |
tree | f5bbb19812239fbc1c724b87640e06340e58c909 /sys/fs/hpfs | |
parent | 81229669a4b76960a8fab80a52e38e299f3d459f (diff) | |
download | FreeBSD-src-65436963c56aab4cec5a18ff2990989cf9d13d59.zip FreeBSD-src-65436963c56aab4cec5a18ff2990989cf9d13d59.tar.gz |
Clean up style(9) nits
Diffstat (limited to 'sys/fs/hpfs')
-rw-r--r-- | sys/fs/hpfs/hpfs_vfsops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/hpfs/hpfs_vfsops.c b/sys/fs/hpfs/hpfs_vfsops.c index c0564ad..67355e2 100644 --- a/sys/fs/hpfs/hpfs_vfsops.c +++ b/sys/fs/hpfs/hpfs_vfsops.c @@ -283,11 +283,11 @@ hpfs_mountfs(devvp, mp, td) hpmp->hpm_devvp = devvp; hpmp->hpm_dev = devvp->v_rdev; hpmp->hpm_mp = mp; - if (1 == vfs_scanopt(mp->mnt_optnew, "uid", "%d", &v)) + if (vfs_scanopt(mp->mnt_optnew, "uid", "%d", &v) == 1) hpmp->hpm_uid = v; - if (1 == vfs_scanopt(mp->mnt_optnew, "gid", "%d", &v)) + if (vfs_scanopt(mp->mnt_optnew, "gid", "%d", &v) == 1) hpmp->hpm_gid = v; - if (1 == vfs_scanopt(mp->mnt_optnew, "mode", "%d", &v)) + if (vfs_scanopt(mp->mnt_optnew, "mode", "%d", &v) == 1) hpmp->hpm_mode = v; error = hpfs_bminit(hpmp); |