Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/adosfs rename 'sp' variable to 'ap' in adosfs_pathcon...
details: https://anonhg.NetBSD.org/src/rev/bb13a9fcac13
branches: trunk
changeset: 569956:bb13a9fcac13
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Tue Sep 14 16:59:40 2004 +0000
description:
rename 'sp' variable to 'ap' in adosfs_pathconf(), so that it matches other
filesystems and avoid silly pastos
diffstat:
sys/fs/adosfs/advnops.c | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diffs (61 lines):
diff -r b5361670370c -r bb13a9fcac13 sys/fs/adosfs/advnops.c
--- a/sys/fs/adosfs/advnops.c Tue Sep 14 16:57:31 2004 +0000
+++ b/sys/fs/adosfs/advnops.c Tue Sep 14 16:59:40 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: advnops.c,v 1.12 2004/09/14 10:58:45 skrll Exp $ */
+/* $NetBSD: advnops.c,v 1.13 2004/09/14 16:59:40 jdolecek Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: advnops.c,v 1.12 2004/09/14 10:58:45 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: advnops.c,v 1.13 2004/09/14 16:59:40 jdolecek Exp $");
#if defined(_KERNEL_OPT)
#include "opt_quota.h"
@@ -926,32 +926,32 @@
struct vnode *a_vp;
int a_name;
register_t *a_retval;
- } */ *sp = v;
+ } */ *ap = v;
- switch (sp->a_name) {
+ switch (ap->a_name) {
case _PC_LINK_MAX:
- *sp->a_retval = LINK_MAX;
+ *ap->a_retval = LINK_MAX;
return (0);
case _PC_NAME_MAX:
- *sp->a_retval = sp->a_vp->v_mount->mnt_stat.f_namemax;
+ *ap->a_retval = ap->a_vp->v_mount->mnt_stat.f_namemax;
return (0);
case _PC_PATH_MAX:
- *sp->a_retval = PATH_MAX;
+ *ap->a_retval = PATH_MAX;
return (0);
case _PC_PIPE_BUF:
- *sp->a_retval = PIPE_BUF;
+ *ap->a_retval = PIPE_BUF;
return (0);
case _PC_CHOWN_RESTRICTED:
- *sp->a_retval = 1;
+ *ap->a_retval = 1;
return (0);
case _PC_VDISABLE:
- *sp->a_retval = _POSIX_VDISABLE;
+ *ap->a_retval = _POSIX_VDISABLE;
return (0);
case _PC_SYNC_IO:
- *sp->a_retval = 1;
+ *ap->a_retval = 1;
return (0);
case _PC_FILESIZEBITS:
- *sp->a_retval = 32;
+ *ap->a_retval = 32;
return (0);
default:
return (EINVAL);
Home |
Main Index |
Thread Index |
Old Index