Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/fs/adosfs Fix typos/pastos.



details:   https://anonhg.NetBSD.org/src/rev/9c5ea4d24f7f
branches:  trunk
changeset: 569950:9c5ea4d24f7f
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Sep 14 10:58:45 2004 +0000

description:
Fix typos/pastos.

diffstat:

 sys/fs/adosfs/advfsops.c |  6 +++---
 sys/fs/adosfs/advnops.c  |  8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (58 lines):

diff -r 58f1565ca5dd -r 9c5ea4d24f7f sys/fs/adosfs/advfsops.c
--- a/sys/fs/adosfs/advfsops.c  Tue Sep 14 10:24:22 2004 +0000
+++ b/sys/fs/adosfs/advfsops.c  Tue Sep 14 10:58:45 2004 +0000
@@ -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 <sys/cdefs.h>
-__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 @@
        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 -r 58f1565ca5dd -r 9c5ea4d24f7f sys/fs/adosfs/advnops.c
--- a/sys/fs/adosfs/advnops.c   Tue Sep 14 10:24:22 2004 +0000
+++ b/sys/fs/adosfs/advnops.c   Tue Sep 14 10:58:45 2004 +0000
@@ -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 <sys/cdefs.h>
-__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 @@
                *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;



Home | Main Index | Thread Index | Old Index