summaryrefslogtreecommitdiffstats
path: root/sys/coda
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2003-03-07 09:18:15 +0000
committertjr <tjr@FreeBSD.org>2003-03-07 09:18:15 +0000
commit97181668db5e5f480cdf259524d0bb559c679ed0 (patch)
tree85753e38bd09e4f6eb16f560e712cd29fb8825a8 /sys/coda
parent84a9b654ee9a721db745095303875ecfb5839ede (diff)
downloadFreeBSD-src-97181668db5e5f480cdf259524d0bb559c679ed0.zip
FreeBSD-src-97181668db5e5f480cdf259524d0bb559c679ed0.tar.gz
Set f_fstypename in coda_nb_statfs().
Diffstat (limited to 'sys/coda')
-rw-r--r--sys/coda/coda_vfsops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/coda/coda_vfsops.c b/sys/coda/coda_vfsops.c
index 54ca8bd..f25738f 100644
--- a/sys/coda/coda_vfsops.c
+++ b/sys/coda/coda_vfsops.c
@@ -430,6 +430,7 @@ coda_nb_statfs(vfsp, sbp, td)
bcopy((caddr_t)&(vfsp->mnt_stat.f_fsid), (caddr_t)&(sbp->f_fsid), sizeof (fsid_t));
snprintf(sbp->f_mntonname, sizeof(sbp->f_mntonname), "/coda");
snprintf(sbp->f_mntfromname, sizeof(sbp->f_mntfromname), "CODA");
+ snprintf(sbp->f_fstypename, sizeof(sbp->f_fstypename), "coda");
/* MARK_INT_SAT(CODA_STATFS_STATS); */
return(0);
}
OpenPOWER on IntegriCloud