summaryrefslogtreecommitdiffstats
path: root/lib/libufs
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2003-06-19 22:12:54 +0000
committermdodd <mdodd@FreeBSD.org>2003-06-19 22:12:54 +0000
commit38747cd3f83bf1f338819c9f698eddaf8bc23f13 (patch)
tree481572a44da0ae27c83f496325b1649741483681 /lib/libufs
parent565718980b04b55fae0040e6cfee7aca06855414 (diff)
downloadFreeBSD-src-38747cd3f83bf1f338819c9f698eddaf8bc23f13.zip
FreeBSD-src-38747cd3f83bf1f338819c9f698eddaf8bc23f13.tar.gz
Correct an apparent typo.
PR: bin/53515 Submitted by: Lukas Ertl <l.ertl@univie.ac.at> Approved by: jmallett
Diffstat (limited to 'lib/libufs')
-rw-r--r--lib/libufs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libufs/inode.c b/lib/libufs/inode.c
index 86a9f0f..d8bef61 100644
--- a/lib/libufs/inode.c
+++ b/lib/libufs/inode.c
@@ -74,7 +74,7 @@ getino(struct uufsd *disk, void **dino, ino_t inode, int *mode)
goto gotit;
bread(disk, fsbtodb(fs, ino_to_fsba(fs, inode)), inoblock,
fs->fs_bsize);
- disk->d_inomin = min = inode - (inode & INOPB(fs));
+ disk->d_inomin = min = inode - (inode % INOPB(fs));
disk->d_inomax = max = min + INOPB(fs);
gotit: switch (disk->d_ufs) {
case 1:
OpenPOWER on IntegriCloud