aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gierth <andrew@tao146.riddles.org.uk>2023-12-24 12:04:21 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2023-12-29 00:35:45 +0000
commit71fceff2480999b3fc921f47ec9adea9eff32041 (patch)
treebcb1e314ceef3498f54f8bd33ac8e4a937753978
parentc2ae37ad0ca9e77f9ddbdcaf0f3fc6ed4f5a5e53 (diff)
downloadsrc-71fceff2480999b3fc921f47ec9adea9eff32041.tar.gz
src-71fceff2480999b3fc921f47ec9adea9eff32041.zip
vfs_domount_update(): correct fsidcmp() usage
(cherry picked from commit 2a1d50fc12f6e604da834fbaea961d412aae6e85)
-rw-r--r--sys/kern/vfs_mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c
index cefadf75a3a8..8ad5b34c729d 100644
--- a/sys/kern/vfs_mount.c
+++ b/sys/kern/vfs_mount.c
@@ -1230,7 +1230,7 @@ vfs_domount_update(
error = EINVAL;
goto end;
}
- if (fsidcmp(&fsid_up, &mp->mnt_stat.f_fsid) != 0) {
+ if (fsidcmp(fsid_up, &mp->mnt_stat.f_fsid) != 0) {
error = ENOENT;
goto end;
}