fix various typos in comments.

pull/33/head
andvar 2024-02-05 21:46:04 +00:00
parent d30e897588
commit 82bba4e936
23 changed files with 66 additions and 66 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: xdr.h,v 1.2 2019/06/16 16:01:44 christos Exp $ */
/* $NetBSD: xdr.h,v 1.3 2024/02/05 21:46:04 andvar Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@ -93,8 +93,8 @@ enum xdr_op {
/*
* The XDR handle.
* Contains operation which is being applied to the stream,
* an operations vector for the paticular implementation (e.g. see xdr_mem.c),
* and two private fields for the use of the particular impelementation.
* an operations vector for the particular implementation (e.g. see xdr_mem.c),
* and two private fields for the use of the particular implementation.
*/
typedef struct __rpc_xdr {
enum xdr_op x_op; /* operation; fast additional param */

View File

@ -1,4 +1,4 @@
/* $NetBSD: nameser_compat.h,v 1.9 2022/04/21 04:03:54 gutteridge Exp $ */
/* $NetBSD: nameser_compat.h,v 1.10 2024/02/05 21:46:05 andvar Exp $ */
/* Copyright (c) 1983, 1989
* The Regents of the University of California. All rights reserved.
@ -64,7 +64,7 @@ typedef struct {
/* fields in third byte */
unsigned qr: 1; /*%< response flag */
unsigned opcode: 4; /*%< purpose of message */
unsigned aa: 1; /*%< authoritive answer */
unsigned aa: 1; /*%< authoritative answer */
unsigned tc: 1; /*%< truncated message */
unsigned rd: 1; /*%< recursion desired */
/* fields in fourth byte */
@ -78,7 +78,7 @@ typedef struct {
/* fields in third byte */
unsigned rd :1; /*%< recursion desired */
unsigned tc :1; /*%< truncated message */
unsigned aa :1; /*%< authoritive answer */
unsigned aa :1; /*%< authoritative answer */
unsigned opcode :4; /*%< purpose of message */
unsigned qr :1; /*%< response flag */
/* fields in fourth byte */

View File

@ -20,7 +20,7 @@
#if 0
static const char rcsid[] = "Id: inet_net_pton.c,v 1.4.2.1 2002/08/02 02:17:21 marka Exp ";
#else
__RCSID("$NetBSD: inet_net_pton.c,v 1.5 2018/12/13 08:44:11 maya Exp $");
__RCSID("$NetBSD: inet_net_pton.c,v 1.6 2024/02/05 21:46:05 andvar Exp $");
#endif
#endif
@ -54,7 +54,7 @@ __weak_alias(inet_net_pton,_inet_net_pton)
* accepts hex octets, hex strings, decimal octets, and /CIDR.
* "size" is in bytes and describes "dst".
* return:
* number of bits, either imputed classfully or specified with /CIDR,
* number of bits, either inputed classfully or specified with /CIDR,
* or -1 if some failure occurred (check errno). ENOENT means it was
* not an IPv4 network specification.
* note:
@ -169,7 +169,7 @@ inet_net_pton_ipv4(const char *src, u_char *dst, size_t size)
bits = 16;
else /* Class A */
bits = 8;
/* If imputed mask is narrower than specified octets, widen. */
/* If inputed mask is narrower than specified octets, widen. */
if (bits >= 8 && bits < ((dst - odst) * 8))
bits = (int)(dst - odst) * 8;
}
@ -392,7 +392,7 @@ inet_net_pton_ipv6(const char *src, u_char *dst, size_t size)
* accepts hex octets, hex strings, decimal octets, and /CIDR.
* "size" is in bytes and describes "dst".
* return:
* number of bits, either imputed classfully or specified with /CIDR,
* number of bits, either inputed classfully or specified with /CIDR,
* or -1 if some failure occurred (check errno). ENOENT means it was
* not a valid network specification.
* author:

View File

@ -1,4 +1,4 @@
/* $NetBSD: dst_api.c,v 1.10 2022/11/02 20:38:21 andvar Exp $ */
/* $NetBSD: dst_api.c,v 1.11 2024/02/05 21:46:05 andvar Exp $ */
/*
* Portions Copyright (c) 1995-1998 by Trusted Information Systems, Inc.
@ -40,7 +40,7 @@
#if 0
static const char rcsid[] = "Header: /proj/cvs/prod/libbind/dst/dst_api.c,v 1.17 2007/09/24 17:18:25 each Exp ";
#else
__RCSID("$NetBSD: dst_api.c,v 1.10 2022/11/02 20:38:21 andvar Exp $");
__RCSID("$NetBSD: dst_api.c,v 1.11 2024/02/05 21:46:05 andvar Exp $");
#endif
@ -820,7 +820,7 @@ dst_key_to_buffer(DST_KEY *key, u_char *out_buff, int buf_len)
* pk_key Structure that the key is returned in.
* in_id Key identifier (tag)
* Return
* 1 if everthing works
* 1 if everything works
* 0 if there is any problem
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: udf_core.c,v 1.13 2022/05/28 21:14:56 andvar Exp $ */
/* $NetBSD: udf_core.c,v 1.14 2024/02/05 21:46:05 andvar Exp $ */
/*
* Copyright (c) 2006, 2008, 2021, 2022 Reinoud Zandijk
@ -30,7 +30,7 @@
#endif
#include <sys/cdefs.h>
__RCSID("$NetBSD: udf_core.c,v 1.13 2022/05/28 21:14:56 andvar Exp $");
__RCSID("$NetBSD: udf_core.c,v 1.14 2024/02/05 21:46:05 andvar Exp $");
#include <stdio.h>
#include <stdlib.h>
@ -886,7 +886,7 @@ udf_timestamp_to_timespec(struct timestamp *timestamp, struct timespec *timespec
*/
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: zz9k_if.c,v 1.1 2023/05/03 13:49:30 phx Exp $ */
/* $NetBSD: zz9k_if.c,v 1.2 2024/02/05 21:46:05 andvar Exp $ */
/*
* Copyright (c) 2020 The NetBSD Foundation, Inc.
@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: zz9k_if.c,v 1.1 2023/05/03 13:49:30 phx Exp $");
__KERNEL_RCSID(0, "$NetBSD: zz9k_if.c,v 1.2 2024/02/05 21:46:05 andvar Exp $");
/* miscellaneous */
#include <sys/types.h> /* size_t */
@ -258,7 +258,7 @@ zzif_start(struct ifnet *ifp)
/* make bpf happy */
bpf_mtap(ifp, m, BPF_D_OUT);
/* copy dequeued mbuf data to tranmit buffer of the ZZ9000 */
/* copy dequeued mbuf data to transmit buffer of the ZZ9000 */
for (struct mbuf *n = m; n != NULL; n = n->m_next) {
memcpy(frame, n->m_data, n->m_len);
frame += n->m_len;

View File

@ -1,4 +1,4 @@
* $NetBSD: decbin.sa,v 1.4 2001/12/09 01:43:13 briggs Exp $
* $NetBSD: decbin.sa,v 1.5 2024/02/05 21:46:05 andvar Exp $
* MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP
* M68000 Hi-Performance Microprocessor Division
@ -270,14 +270,14 @@ m_sign:
*
* 1. Branch on the sign of the adjusted exponent.
* 2p.(positive exp)
* 2. Check M16 and the digits in lwords 2 and 3 in decending order.
* 2. Check M16 and the digits in lwords 2 and 3 in descending order.
* 3. Add one for each zero encountered until a non-zero digit.
* 4. Subtract the count from the exp.
* 5. Check if the exp has crossed zero in #3 above; make the exp abs
* and set SE.
* 6. Multiply the mantissa by 10**count.
* 2n.(negative exp)
* 2. Check the digits in lwords 3 and 2 in decending order.
* 2. Check the digits in lwords 3 and 2 in descending order.
* 3. Add one for each zero encountered until a non-zero digit.
* 4. Add the count to the exp.
* 5. Check if the exp has crossed zero in #3 above; clear SE.

View File

@ -1,4 +1,4 @@
/* $NetBSD: macrom.c,v 1.73 2014/10/18 08:33:25 snj Exp $ */
/* $NetBSD: macrom.c,v 1.74 2024/02/05 21:46:05 andvar Exp $ */
/*-
* Copyright (C) 1994 Bradley A. Grantham
@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: macrom.c,v 1.73 2014/10/18 08:33:25 snj Exp $");
__KERNEL_RCSID(0, "$NetBSD: macrom.c,v 1.74 2024/02/05 21:46:05 andvar Exp $");
#include "opt_adb.h"
#include "opt_ddb.h"
@ -289,7 +289,7 @@ Count_Resources(u_int32_t rsrc_type)
(long)rsrc_type, (long)rsrc);
#endif
/*
* Return a Count of all the ROM Resouces of the requested type.
* Return a Count of all the ROM Resources of the requested type.
*/
if (ROMResourceMap == 0)
panic("Oops! Need ROM Resource Map ListHead address!");

View File

@ -1,4 +1,4 @@
/* $NetBSD: sysreg.h,v 1.30 2023/12/25 13:31:00 skrll Exp $ */
/* $NetBSD: sysreg.h,v 1.31 2024/02/05 21:46:05 andvar Exp $ */
/*
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@ -196,7 +196,7 @@ RISCVREG_READ_SET_CLEAR_INLINE(sstatus) // supervisor status register
#define SR_FS_CLEAN 2 // Clean
#define SR_FS_DIRTY 3 // Dirty
/* Bits 12-11 are WPRI */
#define SR_VS __BITS(10, 9) // User-mode extention state
#define SR_VS __BITS(10, 9) // User-mode extension state
#define SR_VS_OFF SR_FS_OFF // Off
#define SR_VS_INITIAL SR_FS_INITIAL // Initial
#define SR_VS_CLEAN SR_FS_CLEAN // Clean

View File

@ -1,4 +1,4 @@
/* $NetBSD: bf_enc.c,v 1.10 2005/12/11 12:20:48 christos Exp $ */
/* $NetBSD: bf_enc.c,v 1.11 2024/02/05 21:46:06 andvar Exp $ */
/* crypto/bf/bf_enc.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
@ -59,14 +59,14 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: bf_enc.c,v 1.10 2005/12/11 12:20:48 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: bf_enc.c,v 1.11 2024/02/05 21:46:06 andvar Exp $");
#include <sys/types.h>
#include <crypto/blowfish/blowfish.h>
#include <crypto/blowfish/bf_locl.h>
/* Blowfish as implemented from 'Blowfish: Springer-Verlag paper'
* (From LECTURE NOTES IN COIMPUTER SCIENCE 809, FAST SOFTWARE ENCRYPTION,
* (From LECTURE NOTES IN COMPUTER SCIENCE 809, FAST SOFTWARE ENCRYPTION,
* CAMBRIDGE SECURITY WORKSHOP, CAMBRIDGE, U.K., DECEMBER 9-11, 1993)
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: wd.c,v 1.468 2023/01/24 08:34:18 mlelstv Exp $ */
/* $NetBSD: wd.c,v 1.469 2024/02/05 21:46:06 andvar Exp $ */
/*
* Copyright (c) 1998, 2001 Manuel Bouyer. All rights reserved.
@ -54,7 +54,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.468 2023/01/24 08:34:18 mlelstv Exp $");
__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.469 2024/02/05 21:46:06 andvar Exp $");
#include "opt_ata.h"
#include "opt_wd.h"
@ -436,7 +436,7 @@ wdattach(device_t parent, device_t self, void *aux)
wd->sc_params.atap_sectors;
/*
* LBA28 size is ignored for CHS addressing. Use a reasonable
* value for debugging. The CHS values may be artifical and
* value for debugging. The CHS values may be artificial and
* are mostly ignored.
*/
if (wd->sc_capacity < 0xfffffff)

View File

@ -1,4 +1,4 @@
/* $NetBSD: cd1190reg.h,v 1.6 2022/05/30 09:56:04 andvar Exp $ */
/* $NetBSD: cd1190reg.h,v 1.7 2024/02/05 21:46:06 andvar Exp $ */
/*-
* Copyright (c) 1998 Iain Hibbert.
@ -131,7 +131,7 @@
#define CD1190_SCR_STATUS (CD1190_SCR_IP3 | CD1190_SCR_IP2 | CD1190_SCR_IP1)
/* Outout signals - Active High?
/* Output signals - Active High?
*
* IP3 - SLIN
* IP2 - *INIT / *RESET

View File

@ -1,4 +1,4 @@
/* $NetBSD: dp8390var.h,v 1.37 2024/02/02 22:23:53 andvar Exp $ */
/* $NetBSD: dp8390var.h,v 1.38 2024/02/05 21:46:06 andvar Exp $ */
/*
* Device driver for National Semiconductor DS8390/WD83C690 based ethernet
@ -140,7 +140,7 @@ struct dp8390_softc {
#define DP8390_ATTACHED 0x0040 /* attach has succeeded */
/*
* ASIX AX88796 doesn't have remote DMA conmplete bit in ISR, so don't
* ASIX AX88796 doesn't have remote DMA complete bit in ISR, so don't
* check ISR.RDC
*/
#define DP8390_NO_REMOTE_DMA_COMPLETE 0x0080

View File

@ -1,4 +1,4 @@
/* $NetBSD: hmereg.h,v 1.22 2009/05/07 06:46:54 jdc Exp $ */
/* $NetBSD: hmereg.h,v 1.23 2024/02/05 21:46:06 andvar Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -79,7 +79,7 @@
#define HME_SEB_STAT_TXEACK 0x04000000 /* error during tx DMA */
#define HME_SEB_STAT_TXLERR 0x08000000 /* late error during tx DMA */
#define HME_SEB_STAT_TXPERR 0x10000000 /* parity error during tx DMA */
#define HME_SEB_STAT_TXTERR 0x20000000 /* tag error durig tx DMA */
#define HME_SEB_STAT_TXTERR 0x20000000 /* tag error during tx DMA */
#define HME_SEB_STAT_SLVERR 0x40000000 /* pio access error */
#define HME_SEB_STAT_SLVPERR 0x80000000 /* pio access parity error */
#define HME_SEB_STAT_BITS "\177\020" \

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ixl.c,v 1.96 2023/12/20 18:09:19 skrll Exp $ */
/* $NetBSD: if_ixl.c,v 1.97 2024/02/05 21:46:06 andvar Exp $ */
/*
* Copyright (c) 2013-2015, Intel Corporation
@ -74,7 +74,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_ixl.c,v 1.96 2023/12/20 18:09:19 skrll Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_ixl.c,v 1.97 2024/02/05 21:46:06 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_if_ixl.h"
@ -4513,7 +4513,7 @@ ixl_get_link_status_poll(struct ixl_softc *sc, int *l)
return EIO;
}
/* It is unneccessary to hold lock */
/* It is unnecessary to hold lock */
link = ixl_set_link_status_locked(sc, &iaq);
if (l != NULL)

View File

@ -1,4 +1,4 @@
/* $NetBSD: nfs_commonsubs.c,v 1.5 2022/10/07 19:56:31 andvar Exp $ */
/* $NetBSD: nfs_commonsubs.c,v 1.6 2024/02/05 21:46:06 andvar Exp $ */
/*-
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
@ -34,7 +34,7 @@
#include <sys/cdefs.h>
/* __FBSDID("FreeBSD: head/sys/fs/nfs/nfs_commonsubs.c 308708 2016-11-16 01:11:49Z cperciva "); */
__RCSID("$NetBSD: nfs_commonsubs.c,v 1.5 2022/10/07 19:56:31 andvar Exp $");
__RCSID("$NetBSD: nfs_commonsubs.c,v 1.6 2024/02/05 21:46:06 andvar Exp $");
/*
* These functions support the macros and help fiddle mbuf chains for
@ -1793,7 +1793,7 @@ nfsv4_loadattr(struct nfsrv_descript *nd, vnode_t vp,
*retcmpp = NFSERR_ATTRNOTSUPP;
/*
* and get out of the loop, since we can't parse
* the unknown attrbute data.
* the unknown attribute data.
*/
bitpos = NFSATTRBIT_MAX;
break;

View File

@ -1,4 +1,4 @@
/* $NetBSD: nfs_nfsdserv.c,v 1.4 2016/12/13 21:50:32 pgoyette Exp $ */
/* $NetBSD: nfs_nfsdserv.c,v 1.5 2024/02/05 21:46:06 andvar Exp $ */
/*-
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
@ -34,7 +34,7 @@
#include <sys/cdefs.h>
/* __FBSDID("FreeBSD: head/sys/fs/nfsserver/nfs_nfsdserv.c 299514 2016-05-12 05:03:12Z cem "); */
__RCSID("$NetBSD: nfs_nfsdserv.c,v 1.4 2016/12/13 21:50:32 pgoyette Exp $");
__RCSID("$NetBSD: nfs_nfsdserv.c,v 1.5 2024/02/05 21:46:06 andvar Exp $");
/*
* nfs version 2, 3 and 4 server calls to vnode ops
@ -384,7 +384,7 @@ nfsrvd_setattr(struct nfsrv_descript *nd, __unused int isdgram,
if (!nd->nd_repstat && (nd->nd_flag & ND_NFSV4)) {
/*
* For V4, try setting the attrbutes in sets, so that the
* For V4, try setting the attributes in sets, so that the
* reply bitmap will be correct for an error case.
*/
if (NFSISSET_ATTRBIT(&attrbits, NFSATTRBIT_OWNER) ||

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ether.h,v 1.90 2023/08/01 07:04:16 mrg Exp $ */
/* $NetBSD: if_ether.h,v 1.91 2024/02/05 21:46:06 andvar Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
@ -110,7 +110,7 @@ struct ether_header {
(((etype) == ETHERTYPE_PPPOE) ? ETHER_PPPOE_ENCAP_LEN : 0))
/*
* Ethernet CRC32 polynomials (big- and little-endian verions).
* Ethernet CRC32 polynomials (big- and little-endian versions).
*/
#define ETHER_CRC_POLY_LE 0xedb88320
#define ETHER_CRC_POLY_BE 0x04c11db6

View File

@ -1,4 +1,4 @@
/* $NetBSD: nfs_socket.c,v 1.201 2023/04/09 12:33:58 riastradh Exp $ */
/* $NetBSD: nfs_socket.c,v 1.202 2024/02/05 21:46:06 andvar Exp $ */
/*
* Copyright (c) 1989, 1991, 1993, 1995
@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: nfs_socket.c,v 1.201 2023/04/09 12:33:58 riastradh Exp $");
__KERNEL_RCSID(0, "$NetBSD: nfs_socket.c,v 1.202 2024/02/05 21:46:06 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_nfs.h"
@ -745,7 +745,7 @@ nfs_timer_srvfini(void)
/*
* Nfs timer routine
* Scan the nfsreq list and retranmit any requests that have timed out
* Scan the nfsreq list and retransmit any requests that have timed out
* To avoid retransmission attempts on STREAM sockets (in the future) make
* sure to set the r_retry field to 0 (implies nm_retry == 0).
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: uvm_object.h,v 1.39 2020/08/14 09:06:15 chs Exp $ */
/* $NetBSD: uvm_object.h,v 1.40 2024/02/05 21:46:07 andvar Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@ -76,7 +76,7 @@ struct uvm_object {
* memory objects don't have reference counts -- they never die).
*
* this value is used to detected kernel object mappings at uvm_unmap()
* time. normally when an object is unmapped its pages eventaully become
* time. normally when an object is unmapped its pages eventually become
* deactivated and then paged out and/or freed. this is not useful
* for kernel objects... when a kernel object is unmapped we always want
* to free the resources associated with the mapping. UVM_OBJ_KERN

View File

@ -1,4 +1,4 @@
/* $NetBSD: crunchgen.c,v 1.95 2023/06/23 02:13:03 rin Exp $ */
/* $NetBSD: crunchgen.c,v 1.96 2024/02/05 21:46:07 andvar Exp $ */
/*
* Copyright (c) 1994 University of Maryland
* All Rights Reserved.
@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#if !defined(lint)
__RCSID("$NetBSD: crunchgen.c,v 1.95 2023/06/23 02:13:03 rin Exp $");
__RCSID("$NetBSD: crunchgen.c,v 1.96 2024/02/05 21:46:07 andvar Exp $");
#endif
#include <stdlib.h>
@ -1090,7 +1090,7 @@ prog_makefile_rules(FILE *outmk, prog_t *p, const char *linevars)
fprintf(outmk, " / %s$$/ { next };", lst->str);
fprintf(outmk, " / main$$/ { print \"main _crunched_%s_stub\"; next };",
p->ident);
/* gdb thinks these are C++ and ignores everthing after the first $$. */
/* gdb thinks these are C++ and ignores everything after the first $$. */
fprintf(outmk, " { print $$3 \" \" $$3 \"$$$$from$$$$%s\" }' "
"> %s.cro.syms\n", p->name, p->name);
fprintf(outmk, "\t${OBJCOPY} --redefine-syms %s.cro.syms ", p->name);

View File

@ -1,4 +1,4 @@
/* $NetBSD: function.c,v 1.80 2023/04/01 15:57:20 christos Exp $ */
/* $NetBSD: function.c,v 1.81 2024/02/05 21:46:07 andvar Exp $ */
/*-
* Copyright (c) 1990, 1993
@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "from: @(#)function.c 8.10 (Berkeley) 5/4/95";
#else
__RCSID("$NetBSD: function.c,v 1.80 2023/04/01 15:57:20 christos Exp $");
__RCSID("$NetBSD: function.c,v 1.81 2024/02/05 21:46:07 andvar Exp $");
#endif
#endif /* not lint */
@ -1014,7 +1014,7 @@ c_follow(char ***argvp, int isok, char *opt)
/* -fprint functions --
*
* Causes the current pathame to be written to the defined output file.
* Causes the current pathname to be written to the defined output file.
*/
int
f_fprint(PLAN *plan, FTSENT *entry)
@ -1565,7 +1565,7 @@ c_perm(char ***argvp, int isok, char *opt)
/*
* -print functions --
*
* Always true, causes the current pathame to be written to
* Always true, causes the current pathname to be written to
* standard output.
*/
int
@ -2001,7 +2001,7 @@ c_null(char ***argvp, int isok, char *opt)
*
* At the moment, only N_EXEC has state. Two kinds: 1)
* lists of files to feed to subprocesses 2) State on exit
* statusses of past subprocesses.
* status of past subprocesses.
*/
/* ARGSUSED1 */
int

View File

@ -1,4 +1,4 @@
/* $NetBSD: service.c,v 1.4 2022/04/11 20:57:37 andvar Exp $ */
/* $NetBSD: service.c,v 1.5 2024/02/05 21:46:07 andvar Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__RCSID("$NetBSD: service.c,v 1.4 2022/04/11 20:57:37 andvar Exp $");
__RCSID("$NetBSD: service.c,v 1.5 2024/02/05 21:46:07 andvar Exp $");
#include <bluetooth.h>
#include <sdp.h>
@ -451,7 +451,7 @@ sdpd_valid_ssp(sdp_data_t *ssp)
* order 16-bits are the beginning of the range and the low order 16-bits
* are the ending
*
* The attrbute IDs should be listed in ascending order without duplication
* The attribute IDs should be listed in ascending order without duplication
* of any attribute ID values but we don't worry about that, since if the
* remote party messes up, their results will be messed up
*/