diff options
| author | Ian Dowse <iedowse@FreeBSD.org> | 2001-02-03 21:25:32 +0000 |
|---|---|---|
| committer | Ian Dowse <iedowse@FreeBSD.org> | 2001-02-03 21:25:32 +0000 |
| commit | f434e08437b93667910176f142fcefaa9bba077f (patch) | |
| tree | b4eb055319f53b9535bf40be6600067c7764e0ef | |
| parent | eec075cac99871055258dedb70de0f3038acd242 (diff) | |
Notes
| -rw-r--r-- | sys/ufs/ufs/ufs_lookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ufs/ufs_lookup.c b/sys/ufs/ufs/ufs_lookup.c index 13964842b564..a403e689ce38 100644 --- a/sys/ufs/ufs/ufs_lookup.c +++ b/sys/ufs/ufs/ufs_lookup.c @@ -591,7 +591,7 @@ ufs_dirbad(ip, offset, how) mp = ITOV(ip)->v_mount; (void)printf("%s: bad dir ino %lu at offset %ld: %s\n", mp->mnt_stat.f_mntonname, (u_long)ip->i_number, (long)offset, how); - if ((mp->mnt_stat.f_flags & MNT_RDONLY) == 0) + if ((mp->mnt_flag & MNT_RDONLY) == 0) panic("ufs_dirbad: bad dir"); } |
