diff --git a/sys/fs/adosfs/advfsops.c b/sys/fs/adosfs/advfsops.c index 423bd59c5e01..c9537e556da8 100644 --- a/sys/fs/adosfs/advfsops.c +++ b/sys/fs/adosfs/advfsops.c @@ -1,4 +1,4 @@ -/* $NetBSD: advfsops.c,v 1.18 2004/09/13 19:25:48 jdolecek Exp $ */ +/* $NetBSD: advfsops.c,v 1.19 2004/09/14 10:58:45 skrll Exp $ */ /* * Copyright (c) 1994 Christian E. Hopps @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: advfsops.c,v 1.18 2004/09/13 19:25:48 jdolecek Exp $"); +__KERNEL_RCSID(0, "$NetBSD: advfsops.c,v 1.19 2004/09/14 10:58:45 skrll Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" @@ -261,7 +261,7 @@ adosfs_mountfs(devvp, mp, p) mp->mnt_stat.f_fsidx.__fsid_val[0] = (long)devvp->v_rdev; mp->mnt_stat.f_fsidx.__fsid_val[1] = makefstype(MOUNT_ADOSFS); mp->mnt_stat.f_fsid = mp->mnt_stat.f_fsidx.__fsid_val[0]; - mp->mnt_stat.f_namemax = ADMAXNAMLEN; + mp->mnt_stat.f_namemax = ADMAXNAMELEN; mp->mnt_fs_bshift = ffs(amp->bsize) - 1; mp->mnt_dev_bshift = DEV_BSHIFT; /* XXX */ mp->mnt_flag |= MNT_LOCAL; diff --git a/sys/fs/adosfs/advnops.c b/sys/fs/adosfs/advnops.c index 401658af9ed8..51b74d3e1915 100644 --- a/sys/fs/adosfs/advnops.c +++ b/sys/fs/adosfs/advnops.c @@ -1,4 +1,4 @@ -/* $NetBSD: advnops.c,v 1.11 2004/09/13 19:25:48 jdolecek Exp $ */ +/* $NetBSD: advnops.c,v 1.12 2004/09/14 10:58:45 skrll Exp $ */ /* * Copyright (c) 1994 Christian E. Hopps @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: advnops.c,v 1.11 2004/09/13 19:25:48 jdolecek Exp $"); +__KERNEL_RCSID(0, "$NetBSD: advnops.c,v 1.12 2004/09/14 10:58:45 skrll Exp $"); #if defined(_KERNEL_OPT) #include "opt_quota.h" @@ -933,10 +933,10 @@ adosfs_pathconf(v) *sp->a_retval = LINK_MAX; return (0); case _PC_NAME_MAX: - *ap->a_retval = ap->a_vp->v_mount->mnt_stat.f_namemax; + *sp->a_retval = sp->a_vp->v_mount->mnt_stat.f_namemax; return (0); case _PC_PATH_MAX: - *ap->a_retval = PATH_MAX; + *sp->a_retval = PATH_MAX; return (0); case _PC_PIPE_BUF: *sp->a_retval = PIPE_BUF;