fix typos in comments, mainly s/extention/extension/ and s/sufficent/sufficient/

This commit is contained in:
andvar 2021-09-03 21:54:58 +00:00
parent 11067b051b
commit f9faf20aef
23 changed files with 70 additions and 70 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: resolv.h,v 1.41 2021/04/30 16:07:49 christos Exp $ */
/* $NetBSD: resolv.h,v 1.42 2021/09/03 21:54:58 andvar Exp $ */
/*
* Portions Copyright (C) 2004, 2005, 2008, 2009 Internet Systems Consortium, Inc. ("ISC")
@ -188,7 +188,7 @@ struct __res_state {
uint16_t nscount;
uint16_t nstimes[MAXNS]; /*%< ms. */
int nssocks[MAXNS];
struct __res_state_ext *ext; /*%< extention for IPv6 */
struct __res_state_ext *ext; /*%< extension for IPv6 */
} _ext;
} _u;
u_char *_rnd; /*%< PRIVATE: random state */

View File

@ -1,4 +1,4 @@
/* $NetBSD: fenv.c,v 1.4 2017/03/22 23:11:08 chs Exp $ */
/* $NetBSD: fenv.c,v 1.5 2021/09/03 21:54:59 andvar Exp $ */
/*-
* Copyright (c) 2004-2005 David Schultz <das@FreeBSD.ORG>
@ -24,7 +24,7 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
*/
#include <sys/cdefs.h>
__RCSID("$NetBSD: fenv.c,v 1.4 2017/03/22 23:11:08 chs Exp $");
__RCSID("$NetBSD: fenv.c,v 1.5 2021/09/03 21:54:59 andvar Exp $");
#include "namespace.h"
@ -333,7 +333,7 @@ feupdateenv(const fenv_t *envp)
}
/*
* The following functions are extentions to the standard
* The following functions are extensions to the standard
*/
int
feenableexcept(int mask)

View File

@ -1,4 +1,4 @@
/* $NetBSD: fenv.c,v 1.9 2018/01/25 03:54:21 christos Exp $ */
/* $NetBSD: fenv.c,v 1.10 2021/09/03 21:54:59 andvar Exp $ */
/*-
* Copyright (c) 2004-2005 David Schultz <das@FreeBSD.ORG>
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__RCSID("$NetBSD: fenv.c,v 1.9 2018/01/25 03:54:21 christos Exp $");
__RCSID("$NetBSD: fenv.c,v 1.10 2021/09/03 21:54:59 andvar Exp $");
#include "namespace.h"
@ -469,7 +469,7 @@ feupdateenv(const fenv_t *envp)
}
/*
* The following functions are extentions to the standard
* The following functions are extensions to the standard
*/
int
feenableexcept(int mask)

View File

@ -1,4 +1,4 @@
/* $NetBSD: fenv.c,v 1.2 2017/03/22 23:11:08 chs Exp $ */
/* $NetBSD: fenv.c,v 1.3 2021/09/03 21:54:59 andvar Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__RCSID("$NetBSD: fenv.c,v 1.2 2017/03/22 23:11:08 chs Exp $");
__RCSID("$NetBSD: fenv.c,v 1.3 2021/09/03 21:54:59 andvar Exp $");
#include "namespace.h"
@ -277,7 +277,7 @@ feupdateenv(const fenv_t *envp)
}
/*
* The following functions are extentions to the standard
* The following functions are extensions to the standard
*/
int
feenableexcept(int nmask)

View File

@ -1,4 +1,4 @@
/* $NetBSD: fenv.c,v 1.2 2017/03/22 23:11:09 chs Exp $ */
/* $NetBSD: fenv.c,v 1.3 2021/09/03 21:54:59 andvar Exp $ */
/*-
* Copyright (c) 2004-2005 David Schultz <das@FreeBSD.ORG>
@ -24,7 +24,7 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
*/
#include <sys/cdefs.h>
__RCSID("$NetBSD: fenv.c,v 1.2 2017/03/22 23:11:09 chs Exp $");
__RCSID("$NetBSD: fenv.c,v 1.3 2021/09/03 21:54:59 andvar Exp $");
#include "namespace.h"
@ -312,7 +312,7 @@ feupdateenv(const fenv_t *envp)
}
/*
* The following functions are extentions to the standard
* The following functions are extensions to the standard
*/
int
feenableexcept(int mask)

View File

@ -1,4 +1,4 @@
/* $NetBSD: fenv.c,v 1.3 2017/03/22 23:11:09 chs Exp $ */
/* $NetBSD: fenv.c,v 1.4 2021/09/03 21:54:59 andvar Exp $ */
/*-
* Copyright (c) 2004-2005 David Schultz <das@FreeBSD.ORG>
@ -24,7 +24,7 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
*/
#include <sys/cdefs.h>
__RCSID("$NetBSD: fenv.c,v 1.3 2017/03/22 23:11:09 chs Exp $");
__RCSID("$NetBSD: fenv.c,v 1.4 2021/09/03 21:54:59 andvar Exp $");
#include "namespace.h"
@ -326,7 +326,7 @@ feupdateenv(const fenv_t *envp)
}
/*
* The following functions are extentions to the standard
* The following functions are extensions to the standard
*/
int
feenableexcept(int mask)

View File

@ -1,4 +1,4 @@
/* $NetBSD: fenv.c,v 1.9 2021/08/19 20:56:36 andvar Exp $ */
/* $NetBSD: fenv.c,v 1.10 2021/09/03 21:54:59 andvar Exp $ */
/*-
* Copyright (c) 2004-2005 David Schultz <das (at) FreeBSD.ORG>
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__RCSID("$NetBSD: fenv.c,v 1.9 2021/08/19 20:56:36 andvar Exp $");
__RCSID("$NetBSD: fenv.c,v 1.10 2021/09/03 21:54:59 andvar Exp $");
#include "namespace.h"
@ -496,7 +496,7 @@ feupdateenv(const fenv_t *envp)
}
/*
* The following functions are extentions to the standard
* The following functions are extensions to the standard
*/
int
feenableexcept(int mask)

View File

@ -1,4 +1,4 @@
$NetBSD: CHANGES,v 1.51 2021/08/24 09:53:26 mrg Exp $
$NetBSD: CHANGES,v 1.52 2021/09/03 21:54:59 andvar Exp $
changes in bozohttpd 20210824:
o new "-m tlsversion" option to set the minimum TLS version
@ -8,7 +8,7 @@ changes in bozohttpd 20210824:
list of bad options. should deal with PR#51278.
changes in bozohttpd 20210504:
o don't assume host BUFSIZ is sufficent. small BUFSIZ leads to
o don't assume host BUFSIZ is sufficient. small BUFSIZ leads to
always happens errors in the testsuite. switch all these buffers
to be 4KiB sized. reported by embr <git@liclac.eu>
@ -282,7 +282,7 @@ changes in bozohttpd 20030409:
changes in bozohttpd 20030313:
o deprecate -r flag; make this the default and silently ignore -r now
o add support for file extentions to call CGI programs (from lukem)
o add support for file extensions to call CGI programs (from lukem)
o add dynamic support to add new content map entries, allowing both
new file types and non /cgi-bin CGI programs to be run with the
new -C "suffix cgihandler" and -M "suffix type encoding encoding11"

View File

@ -1,4 +1,4 @@
/* $NetBSD: altq_red.c,v 1.32 2019/12/26 04:53:11 msaitoh Exp $ */
/* $NetBSD: altq_red.c,v 1.33 2021/09/03 21:54:59 andvar Exp $ */
/* $KAME: altq_red.c,v 1.20 2005/04/13 03:44:25 suz Exp $ */
/*
@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: altq_red.c,v 1.32 2019/12/26 04:53:11 msaitoh Exp $");
__KERNEL_RCSID(0, "$NetBSD: altq_red.c,v 1.33 2021/09/03 21:54:59 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_altq.h"
@ -178,7 +178,7 @@ __KERNEL_RCSID(0, "$NetBSD: altq_red.c,v 1.32 2019/12/26 04:53:11 msaitoh Exp $"
#ifdef ALTQ3_COMPAT
#ifdef ALTQ_FLOWVALVE
/*
* flow-valve is an extention to protect red from unresponsive flows
* flow-valve is an extension to protect red from unresponsive flows
* and to promote end-to-end congestion control.
* flow-valve observes the average drop rates of the flows that have
* experienced packet drops in the recent past.

View File

@ -1,4 +1,4 @@
/* $NetBSD: armreg.h,v 1.130 2021/01/31 06:18:50 skrll Exp $ */
/* $NetBSD: armreg.h,v 1.131 2021/09/03 21:55:00 andvar Exp $ */
/*
* Copyright (c) 1998, 2001 Ben Harris
@ -540,7 +540,7 @@
#define PRRR_TR_NORMAL 2 // Normal Memory
/* ARMv7 MPIDR, Multiprocessor Affinity Register generic format */
#define MPIDR_MP __BIT(31) /* 1 = Have MP Extention */
#define MPIDR_MP __BIT(31) /* 1 = Have MP Extension */
#define MPIDR_U __BIT(30) /* 1 = Uni-Processor System */
#define MPIDR_MT __BIT(24) /* 1 = SMT(AFF0 is logical) */
#define MPIDR_AFF2 __BITS(23,16) /* Affinity Level 2 */

View File

@ -1,4 +1,4 @@
/* $NetBSD: wm.c,v 1.2 2011/01/27 17:38:04 phx Exp $ */
/* $NetBSD: wm.c,v 1.3 2021/09/03 21:55:00 andvar Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@ -74,7 +74,7 @@ struct rdesc {
#define T2_IFCS (1U << 25) /* insert FCS */
#define T2_RS (1U << 27) /* report status */
#define T2_RPS (1U << 28) /* report packet sent */
#define T2_DEXT (1U << 29) /* descriptor extention */
#define T2_DEXT (1U << 29) /* descriptor extension */
#define T2_VLE (1U << 30) /* VLAN enable */
#define T2_IDE (1U << 31) /* interrupt delay enable */
/* T3 status */
@ -96,7 +96,7 @@ struct rdesc {
#define R3_CE (1U << 8) /* CRC error */
#define R3_SE (1U << 9) /* symbol error */
#define R3_SEQ (1U << 10) /* sequence error */
#define R3_CXE (1U << 12) /* carrier extention error */
#define R3_CXE (1U << 12) /* carrier extension error */
#define R3_TCPE (1U << 13) /* TCP csum error found */
#define R3_IPE (1U << 14) /* IP csum error found */
#define R3_RXE (1U << 15) /* Rx data error */

View File

@ -1,4 +1,4 @@
/* $NetBSD: acpica.h,v 1.6 2018/03/20 12:14:52 bouyer Exp $ */
/* $NetBSD: acpica.h,v 1.7 2021/09/03 21:55:00 andvar Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@ -46,7 +46,7 @@
#include <external/bsd/acpica/dist/include/acpi.h>
#include <external/bsd/acpica/dist/include/accommon.h>
/* extention to the ACPICA API */
/* extension to the ACPICA API */
ACPI_STATUS AcpiOsInstallInterruptHandler_xname(
UINT32, ACPI_OSD_HANDLER, void *, const char *);

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_bge.c,v 1.347 2021/08/30 22:48:16 jmcneill Exp $ */
/* $NetBSD: if_bge.c,v 1.348 2021/09/03 21:55:00 andvar Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@ -79,7 +79,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.347 2021/08/30 22:48:16 jmcneill Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.348 2021/09/03 21:55:00 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -3305,7 +3305,7 @@ bge_attach(device_t parent, device_t self, void *aux)
pm_ctl &= ~(PCI_PWR_D0 | PCI_PWR_D1 | PCI_PWR_D2 | PCI_PWR_D3);
pm_ctl |= (1 << 8) | PCI_PWR_D0 ; /* D0 state */
pci_conf_write(pc, sc->sc_pcitag, BGE_PCI_PWRMGMT_CMD, pm_ctl);
DELAY(1000); /* 27 usec is allegedly sufficent */
DELAY(1000); /* 27 usec is allegedly sufficient */
}
/* Save chipset family. */

View File

@ -1,4 +1,4 @@
/* $NetBSD: nfsmb.c,v 1.27 2021/08/07 16:19:14 thorpej Exp $ */
/* $NetBSD: nfsmb.c,v 1.28 2021/09/03 21:55:00 andvar Exp $ */
/*
* Copyright (c) 2007 KIYOHARA Takashi
* All rights reserved.
@ -26,7 +26,7 @@
*
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: nfsmb.c,v 1.27 2021/08/07 16:19:14 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: nfsmb.c,v 1.28 2021/09/03 21:55:00 andvar Exp $");
#include <sys/param.h>
#include <sys/device.h>
@ -178,7 +178,7 @@ nfsmbc_attach(device_t parent, device_t self, void *aux)
/* This driver is similar to an ISA bridge that doesn't
* need any special handling. So registering NULL handlers
* are sufficent. */
* are sufficient. */
if (!pmf_device_register(self, NULL, NULL))
aprint_error_dev(self, "couldn't establish power handler\n");
}
@ -242,7 +242,7 @@ nfsmb_attach(device_t parent, device_t self, void *aux)
/* This driver is similar to an ISA bridge that doesn't
* need any special handling. So registering NULL handlers
* are sufficent. */
* are sufficient. */
if (!pmf_device_register(self, NULL, NULL))
aprint_error_dev(self, "couldn't establish power handler\n");
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: pdcsata.c,v 1.31 2019/02/03 03:19:27 mrg Exp $ */
/* $NetBSD: pdcsata.c,v 1.32 2021/09/03 21:55:00 andvar Exp $ */
/*
* Copyright (c) 2004, Manuel Bouyer.
@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pdcsata.c,v 1.31 2019/02/03 03:19:27 mrg Exp $");
__KERNEL_RCSID(0, "$NetBSD: pdcsata.c,v 1.32 2021/09/03 21:55:00 andvar Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -405,7 +405,7 @@ pdcsata_chip_map(struct pciide_softc *sc, const struct pci_attach_args *pa)
/*
* subregion de busmaster registers. They're spread all over
* the controller's register space :(. They are also 4 bytes
* sized, with some specific extentions in the extra bits.
* sized, with some specific extensions in the extra bits.
* It also seems that the IDEDMA_CTL register isn't available.
*/
if (bus_space_subregion(sc->sc_ba5_st, sc->sc_ba5_sh,

View File

@ -1,4 +1,4 @@
/* $NetBSD: uvideo.c,v 1.60 2021/05/16 09:17:23 mlelstv Exp $ */
/* $NetBSD: uvideo.c,v 1.61 2021/09/03 21:55:00 andvar Exp $ */
/*
* Copyright (c) 2008 Patrick Mahoney
@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: uvideo.c,v 1.60 2021/05/16 09:17:23 mlelstv Exp $");
__KERNEL_RCSID(0, "$NetBSD: uvideo.c,v 1.61 2021/09/03 21:55:00 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@ -135,7 +135,7 @@ struct uvideo_unit {
struct uvideo_extension_unit vu_extension;
} u;
/* Used by camera terminal, processing and extention units. */
/* Used by camera terminal, processing and extension units. */
uint8_t vu_control_size; /* number of bytes in vu_controls */
uint8_t *vu_controls; /* array of bytes. bits are
* numbered from 0 at least

View File

@ -1,4 +1,4 @@
/* $NetBSD: udf_allocation.c,v 1.43 2021/08/20 20:25:28 andvar Exp $ */
/* $NetBSD: udf_allocation.c,v 1.44 2021/09/03 21:55:00 andvar Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef lint
__KERNEL_RCSID(0, "$NetBSD: udf_allocation.c,v 1.43 2021/08/20 20:25:28 andvar Exp $");
__KERNEL_RCSID(0, "$NetBSD: udf_allocation.c,v 1.44 2021/09/03 21:55:00 andvar Exp $");
#endif /* not lint */
@ -1479,7 +1479,7 @@ udf_trunc_metadatapart(struct udf_mount *ump, uint32_t num_lb)
/* XXX
*
* the following checks will fail for BD-R UDF 2.60! but they are
* read-only for now anyway! Its even doubtfull if it is to be allowed
* read-only for now anyway! Its even doubtful if it is to be allowed
* for these discs.
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: udf_subr.c,v 1.156 2021/08/21 09:59:46 andvar Exp $ */
/* $NetBSD: udf_subr.c,v 1.157 2021/09/03 21:55:00 andvar Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.156 2021/08/21 09:59:46 andvar Exp $");
__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.157 2021/09/03 21:55:00 andvar Exp $");
#endif /* not lint */
@ -2950,7 +2950,7 @@ udf_check_for_vat(struct udf_node *vat_node)
/*
* check contents of the file if its the old 1.50 VAT table format.
* Its notoriously broken and allthough some implementations support an
* extention as defined in the UDF 1.50 errata document, its doubtfull
* extension as defined in the UDF 1.50 errata document, its doubtful
* to be useable since a lot of implementations don't maintain it.
*/
lvinfo = ump->logvol_info;
@ -4280,7 +4280,7 @@ udf_timestamp_to_timespec(struct udf_mount *ump,
*/
tz = udf_rw16(timestamp->type_tz);
tz &= 0x0fff; /* only lower 12 bits are significant */
if (tz & 0x0800) /* sign extention */
if (tz & 0x0800) /* sign extension */
tz |= 0xf000;
/* TODO check timezone conversion */

View File

@ -1,4 +1,4 @@
/* $NetBSD: ether_sw_offload.c,v 1.7 2020/03/27 17:18:15 jdolecek Exp $ */
/* $NetBSD: ether_sw_offload.c,v 1.8 2021/09/03 21:55:00 andvar Exp $ */
/*
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@ -34,7 +34,7 @@
#endif
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ether_sw_offload.c,v 1.7 2020/03/27 17:18:15 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: ether_sw_offload.c,v 1.8 2021/09/03 21:55:00 andvar Exp $");
#include <sys/param.h>
#include <sys/types.h>
@ -124,7 +124,7 @@ ether_sw_offload_tx(struct ifnet *ifp, struct mbuf *m)
/*
* tcp[46]_segment() assume that size of payloads is
* a multiple of MSS. Further, tcp6_segment() assumes
* no extention headers.
* no extension headers.
*
* XXX Do we need some KASSERT's?
*/

View File

@ -327,7 +327,7 @@ add flags missed in last merge
2005-07-22 16:36 sam
Diff reduction against p4:
o add ic_flags_ext for eventual extention of ic_flags
o add ic_flags_ext for eventual extension of ic_flags
o define/reserve flag+capabilities bits for superg,
bg scan, and roaming support
o refactor debug msg macros

View File

@ -1,4 +1,4 @@
/* $NetBSD: sctp_output.c,v 1.23 2021/07/24 21:31:39 andvar Exp $ */
/* $NetBSD: sctp_output.c,v 1.24 2021/09/03 21:55:01 andvar Exp $ */
/* $KAME: sctp_output.c,v 1.48 2005/06/16 18:29:24 jinmei Exp $ */
/*
@ -30,7 +30,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sctp_output.c,v 1.23 2021/07/24 21:31:39 andvar Exp $");
__KERNEL_RCSID(0, "$NetBSD: sctp_output.c,v 1.24 2021/09/03 21:55:01 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_ipsec.h"
@ -3356,7 +3356,7 @@ sctp_send_initiate_ack(struct sctp_inpcb *inp, struct sctp_tcb *stcb,
stc.peerport = sh->src_port;
/*
* If we wanted to honor cookie life extentions, we would add
* If we wanted to honor cookie life extensions, we would add
* to stc.cookie_life. For now we should NOT honor any extension
*/
stc.site_scope = stc.local_scope = stc.loopback_scope = 0;
@ -3958,7 +3958,7 @@ sctp_prune_prsctp(struct sctp_tcb *stcb,
return;
}
} /* if chunk was present */
} /* if of sufficent priority */
} /* if of sufficient priority */
} /* if chunk has enabled */
} /* tailqforeach */
@ -9949,7 +9949,7 @@ sctp_sosend(struct socket *so, struct sockaddr *addr, struct uio *uio,
/* UDP style, we must go ahead and start the INIT process */
if ((use_rcvinfo) &&
(srcv.sinfo_flags & SCTP_ABORT)) {
/* User asks to abort a non-existant asoc */
/* User asks to abort a non-existent asoc */
error = ENOENT;
sounlock(so);
goto out;

View File

@ -1,4 +1,4 @@
/* $NetBSD: ffs_alloc.c,v 1.169 2020/09/05 16:30:13 riastradh Exp $ */
/* $NetBSD: ffs_alloc.c,v 1.170 2021/09/03 21:55:01 andvar Exp $ */
/*-
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@ -70,7 +70,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ffs_alloc.c,v 1.169 2020/09/05 16:30:13 riastradh Exp $");
__KERNEL_RCSID(0, "$NetBSD: ffs_alloc.c,v 1.170 2021/09/03 21:55:01 andvar Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ffs.h"
@ -779,7 +779,7 @@ ffs_blkpref_ufs1(struct inode *ip, daddr_t lbn, int indx, int flags,
/*
* If allocating a contiguous file with B_CONTIG, use the hints
* in the inode extentions to return the desired block.
* in the inode extensions to return the desired block.
*
* For metadata (indirect blocks) return the address of where
* the first indirect block resides - we'll scan for the next
@ -843,7 +843,7 @@ ffs_blkpref_ufs2(struct inode *ip, daddr_t lbn, int indx, int flags,
/*
* If allocating a contiguous file with B_CONTIG, use the hints
* in the inode extentions to return the desired block.
* in the inode extensions to return the desired block.
*
* For metadata (indirect blocks) return the address of where
* the first indirect block resides - we'll scan for the next

View File

@ -1,4 +1,4 @@
/* $NetBSD: nineproto.c,v 1.13 2020/05/26 22:33:04 uwe Exp $ */
/* $NetBSD: nineproto.c,v 1.14 2021/09/03 21:55:01 andvar Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@ -27,7 +27,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: nineproto.c,v 1.13 2020/05/26 22:33:04 uwe Exp $");
__RCSID("$NetBSD: nineproto.c,v 1.14 2021/09/03 21:55:01 andvar Exp $");
#endif /* !lint */
#include <sys/types.h>
@ -175,7 +175,7 @@ proto_getstat(struct puffs_usermount *pu, struct puffs_framebuf *pb, struct vatt
GETSTR(NULL, &v16);
if (p9p->protover == P9PROTO_VERSION_U) {
uint32_t dummy;
GETSTR(NULL, &v16); /* extention[s], not used */
GETSTR(NULL, &v16); /* extension[s], not used */
GETFIELD(p9pbuf_get_4, &dummy, 4); /* n_uid[4], not used */
GETFIELD(p9pbuf_get_4, &dummy, 4); /* n_gid[4], not used */
GETFIELD(p9pbuf_get_4, &dummy, 4); /* n_muid[4], not used */
@ -376,7 +376,7 @@ proto_make_stat(struct puffs_usermount *pu, struct puffs_framebuf *pb,
p9pbuf_put_str(pb, group);
p9pbuf_put_str(pb, ""); /* muid */
if (p9p->protover == P9PROTO_VERSION_U) {
p9pbuf_put_str(pb, P9PROTO_STAT_NOSTR); /* extentions[s] */
p9pbuf_put_str(pb, P9PROTO_STAT_NOSTR); /* extensions[s] */
p9pbuf_put_4(pb, P9PROTO_STAT_NOVAL4); /* n_uid[4] */
p9pbuf_put_4(pb, P9PROTO_STAT_NOVAL4); /* n_gid[4] */
p9pbuf_put_4(pb, P9PROTO_STAT_NOVAL4); /* n_muid[4] */