Module Name: src Committed By: andvar Date: Fri Dec 3 13:27:40 UTC 2021
Modified Files: src/lib: checkvers src/lib/libcurses/PSD.doc: Makefile src/sbin/iscsictl: iscsic_parse.c src/sys/arch/evbarm/imx23_olinuxino: imx23_olinuxino_machdep.c src/sys/arch/sgimips/hpc: pi1ppc.c pi1ppcvar.h src/sys/compat/linux/arch/powerpc: linux_machdep.h src/sys/dev/ic: README.ncr5380sbc atppc.c src/sys/dev/isa: atppc_isa.c src/sys/dev/pci: hifn7751var.h pci_subr.c src/sys/dev/pckbport: synaptics.c src/sys/net: if_gre.h src/sys/netipsec: key.c src/usr.bin/cap_mkdb: cap_mkdb.c src/usr.bin/rump_dhcpclient: net.c src/usr.sbin/lpr/common_source: lp.local.h Log Message: fix various typos in comments, log messages and documentation. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/lib/checkvers cvs rdiff -u -r1.14 -r1.15 src/lib/libcurses/PSD.doc/Makefile cvs rdiff -u -r1.3 -r1.4 src/sbin/iscsictl/iscsic_parse.c cvs rdiff -u -r1.12 -r1.13 \ src/sys/arch/evbarm/imx23_olinuxino/imx23_olinuxino_machdep.c cvs rdiff -u -r1.15 -r1.16 src/sys/arch/sgimips/hpc/pi1ppc.c cvs rdiff -u -r1.6 -r1.7 src/sys/arch/sgimips/hpc/pi1ppcvar.h cvs rdiff -u -r1.10 -r1.11 src/sys/compat/linux/arch/powerpc/linux_machdep.h cvs rdiff -u -r1.4 -r1.5 src/sys/dev/ic/README.ncr5380sbc cvs rdiff -u -r1.39 -r1.40 src/sys/dev/ic/atppc.c cvs rdiff -u -r1.15 -r1.16 src/sys/dev/isa/atppc_isa.c cvs rdiff -u -r1.17 -r1.18 src/sys/dev/pci/hifn7751var.h cvs rdiff -u -r1.232 -r1.233 src/sys/dev/pci/pci_subr.c cvs rdiff -u -r1.73 -r1.74 src/sys/dev/pckbport/synaptics.c cvs rdiff -u -r1.49 -r1.50 src/sys/net/if_gre.h cvs rdiff -u -r1.271 -r1.272 src/sys/netipsec/key.c cvs rdiff -u -r1.29 -r1.30 src/usr.bin/cap_mkdb/cap_mkdb.c cvs rdiff -u -r1.1 -r1.2 src/usr.bin/rump_dhcpclient/net.c cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/lpr/common_source/lp.local.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/checkvers diff -u src/lib/checkvers:1.7 src/lib/checkvers:1.8 --- src/lib/checkvers:1.7 Wed Apr 30 13:10:50 2008 +++ src/lib/checkvers Fri Dec 3 13:27:37 2021 @@ -1,5 +1,5 @@ #!/bin/ksh -# $NetBSD: checkvers,v 1.7 2008/04/30 13:10:50 martin Exp $ +# $NetBSD: checkvers,v 1.8 2021/12/03 13:27:37 andvar Exp $ # # Copyright (c) 1998 The NetBSD Foundation, Inc. # All rights reserved. @@ -33,7 +33,7 @@ # checkvers [-q] [systemlibdir [library name]] # # This is a wrapper script around checkver. It will find -# all directories withing the current directory containing +# all directories within the current directory containing # a shlib_version file and call checkver for each. # # As with checkver, a list of directories of installed libraries @@ -44,7 +44,7 @@ # will not work correctly if it finds shlib_version files # corresponding to a different library. # -# This script produces no output if all library version are ok. +# This script produces no output if all library versions are ok. # If the versions aren't ok the header will be displayed once # followed by a list of problematic libraries. # Index: src/lib/libcurses/PSD.doc/Makefile diff -u src/lib/libcurses/PSD.doc/Makefile:1.14 src/lib/libcurses/PSD.doc/Makefile:1.15 --- src/lib/libcurses/PSD.doc/Makefile:1.14 Tue Jul 15 13:27:58 2014 +++ src/lib/libcurses/PSD.doc/Makefile Fri Dec 3 13:27:38 2021 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2014/07/15 13:27:58 christos Exp $ +# $NetBSD: Makefile,v 1.15 2021/12/03 13:27:38 andvar Exp $ # from: @(#)Makefile 8.2 (Berkeley) 5/23/94 SECTION=reference/ref3 @@ -16,7 +16,7 @@ CLEANFILES+= ${CEXAMPLES} intro.2.tbl # # this section formats C input source into nice troffable (or nroffable) -# versions. It uses the capabilites of "vgrind", which sets keywords in +# versions. It uses the capabilities of "vgrind", which sets keywords in # bold font, and comments in italics. # Index: src/sbin/iscsictl/iscsic_parse.c diff -u src/sbin/iscsictl/iscsic_parse.c:1.3 src/sbin/iscsictl/iscsic_parse.c:1.4 --- src/sbin/iscsictl/iscsic_parse.c:1.3 Sat May 30 15:57:32 2015 +++ src/sbin/iscsictl/iscsic_parse.c Fri Dec 3 13:27:38 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: iscsic_parse.c,v 1.3 2015/05/30 15:57:32 joerg Exp $ */ +/* $NetBSD: iscsic_parse.c,v 1.4 2021/12/03 13:27:38 andvar Exp $ */ /*- * Copyright (c) 2005,2006,2011 The NetBSD Foundation, Inc. @@ -204,7 +204,7 @@ cl_get_target(iscsid_add_target_req_t ** size_t num, len, name; int i, p; - /* count number of addreses first, so we know how much memory to allocate */ + /* count number of addresses first, so we know how much memory to allocate */ for (i = (int)(num = name = 0); i < argc; i++) { if (!argv[i] || argv[i][0] != '-') continue; Index: src/sys/arch/evbarm/imx23_olinuxino/imx23_olinuxino_machdep.c diff -u src/sys/arch/evbarm/imx23_olinuxino/imx23_olinuxino_machdep.c:1.12 src/sys/arch/evbarm/imx23_olinuxino/imx23_olinuxino_machdep.c:1.13 --- src/sys/arch/evbarm/imx23_olinuxino/imx23_olinuxino_machdep.c:1.12 Tue Aug 10 06:47:48 2021 +++ src/sys/arch/evbarm/imx23_olinuxino/imx23_olinuxino_machdep.c Fri Dec 3 13:27:38 2021 @@ -1,4 +1,4 @@ -/* $Id: imx23_olinuxino_machdep.c,v 1.12 2021/08/10 06:47:48 skrll Exp $ */ +/* $Id: imx23_olinuxino_machdep.c,v 1.13 2021/12/03 13:27:38 andvar Exp $ */ /* * Copyright (c) 2012 The NetBSD Foundation, Inc. @@ -320,7 +320,7 @@ power_vddio_from_dcdc(int target, int br { uint32_t tmp_r; - /* BO_OFFSET must be withing 2700mV - 3475mV */ + /* BO_OFFSET must be within 2700mV - 3475mV */ if (brownout > 3475) brownout = 3475; else if (brownout < 2700) Index: src/sys/arch/sgimips/hpc/pi1ppc.c diff -u src/sys/arch/sgimips/hpc/pi1ppc.c:1.15 src/sys/arch/sgimips/hpc/pi1ppc.c:1.16 --- src/sys/arch/sgimips/hpc/pi1ppc.c:1.15 Sat Aug 7 16:19:04 2021 +++ src/sys/arch/sgimips/hpc/pi1ppc.c Fri Dec 3 13:27:38 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: pi1ppc.c,v 1.15 2021/08/07 16:19:04 thorpej Exp $ */ +/* $NetBSD: pi1ppc.c,v 1.16 2021/12/03 13:27:38 andvar Exp $ */ /* * Copyright (c) 2001 Alcove - Nicolas Souchu @@ -33,7 +33,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pi1ppc.c,v 1.15 2021/08/07 16:19:04 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pi1ppc.c,v 1.16 2021/12/03 13:27:38 andvar Exp $"); #include "opt_pi1ppc.h" @@ -235,7 +235,7 @@ pi1ppc_sc_attach(struct pi1ppc_softc *ls /* Set up parport_adapter structure */ - /* Set capabilites */ + /* Set capabilities */ sc_parport_adapter.capabilities = 0; if (lsc->sc_has & PI1PPC_HAS_INTR) { sc_parport_adapter.capabilities |= PPBUS_HAS_INTR; Index: src/sys/arch/sgimips/hpc/pi1ppcvar.h diff -u src/sys/arch/sgimips/hpc/pi1ppcvar.h:1.6 src/sys/arch/sgimips/hpc/pi1ppcvar.h:1.7 --- src/sys/arch/sgimips/hpc/pi1ppcvar.h:1.6 Fri Jul 1 18:53:47 2011 +++ src/sys/arch/sgimips/hpc/pi1ppcvar.h Fri Dec 3 13:27:38 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: pi1ppcvar.h,v 1.6 2011/07/01 18:53:47 dyoung Exp $ */ +/* $NetBSD: pi1ppcvar.h,v 1.7 2021/12/03 13:27:38 andvar Exp $ */ /*- * Copyright (c) 2001 Alcove - Nicolas Souchu @@ -43,7 +43,7 @@ /* Maximum time to wait for device response */ #define MAXBUSYWAIT (5 * (hz)) -/* Poll interval when wating for device to become ready */ +/* Poll interval when waiting for device to become ready */ #define PI1PPC_POLL ((hz)/10) /* Diagnostic and verbose printing macros */ Index: src/sys/compat/linux/arch/powerpc/linux_machdep.h diff -u src/sys/compat/linux/arch/powerpc/linux_machdep.h:1.10 src/sys/compat/linux/arch/powerpc/linux_machdep.h:1.11 --- src/sys/compat/linux/arch/powerpc/linux_machdep.h:1.10 Wed Nov 12 12:36:10 2008 +++ src/sys/compat/linux/arch/powerpc/linux_machdep.h Fri Dec 3 13:27:38 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: linux_machdep.h,v 1.10 2008/11/12 12:36:10 ad Exp $ */ +/* $NetBSD: linux_machdep.h,v 1.11 2021/12/03 13:27:38 andvar Exp $ */ /*- * Copyright (c) 1995, 2000, 2001 The NetBSD Foundation, Inc. @@ -104,7 +104,7 @@ typedef linux_elf_greg_t linux_elf_gregs * defines a rt_sigframe struct, but it is only used for RT signals. for * non RT signals, struct sigregs is used instead. * - * About the ltramp filed: that trampoline code is not used. Instead, the + * About the ltramp field: that trampoline code is not used. Instead, the * sigcode (7 bytes long) trampoline code, copied by exec() on program startup * is used. However, Linux binaries might expect it to be here. */ Index: src/sys/dev/ic/README.ncr5380sbc diff -u src/sys/dev/ic/README.ncr5380sbc:1.4 src/sys/dev/ic/README.ncr5380sbc:1.5 --- src/sys/dev/ic/README.ncr5380sbc:1.4 Fri Nov 24 19:46:59 2006 +++ src/sys/dev/ic/README.ncr5380sbc Fri Dec 3 13:27:38 2021 @@ -136,7 +136,7 @@ drive, then invest in an Adaptec 154X or 2) No support for the SCSI port of the Pro AudioStudio 16. -This is also unfortunate and may not be able to be remedied withing the +This is also unfortunate and may not be able to be remedied within the current framework of the bus_space() functions and the nca driver. The problem is this: In most adapters, the eight 53C80 registers are mapped Index: src/sys/dev/ic/atppc.c diff -u src/sys/dev/ic/atppc.c:1.39 src/sys/dev/ic/atppc.c:1.40 --- src/sys/dev/ic/atppc.c:1.39 Sat Aug 7 16:19:12 2021 +++ src/sys/dev/ic/atppc.c Fri Dec 3 13:27:38 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: atppc.c,v 1.39 2021/08/07 16:19:12 thorpej Exp $ */ +/* $NetBSD: atppc.c,v 1.40 2021/12/03 13:27:38 andvar Exp $ */ /* * Copyright (c) 2001 Alcove - Nicolas Souchu @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: atppc.c,v 1.39 2021/08/07 16:19:12 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: atppc.c,v 1.40 2021/12/03 13:27:38 andvar Exp $"); #include "opt_atppc.h" @@ -185,7 +185,7 @@ atppc_sc_attach(struct atppc_softc *lsc) /* Set up parport_adapter structure */ - /* Set capabilites */ + /* Set capabilities */ sc_parport_adapter.capabilities = 0; if (lsc->sc_has & ATPPC_HAS_INTR) { sc_parport_adapter.capabilities |= PPBUS_HAS_INTR; Index: src/sys/dev/isa/atppc_isa.c diff -u src/sys/dev/isa/atppc_isa.c:1.15 src/sys/dev/isa/atppc_isa.c:1.16 --- src/sys/dev/isa/atppc_isa.c:1.15 Thu May 26 02:29:23 2011 +++ src/sys/dev/isa/atppc_isa.c Fri Dec 3 13:27:38 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: atppc_isa.c,v 1.15 2011/05/26 02:29:23 jakllsch Exp $ */ +/* $NetBSD: atppc_isa.c,v 1.16 2021/12/03 13:27:38 andvar Exp $ */ /*- * Copyright (c) 2001 Alcove - Nicolas Souchu @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: atppc_isa.c,v 1.15 2011/05/26 02:29:23 jakllsch Exp $"); +__KERNEL_RCSID(0, "$NetBSD: atppc_isa.c,v 1.16 2021/12/03 13:27:38 andvar Exp $"); #include "opt_atppc.h" @@ -53,10 +53,10 @@ __KERNEL_RCSID(0, "$NetBSD: atppc_isa.c, /* * ISA bus attach code for atppc driver. - * Note on capabilities: capabilites may exist in the chipset but may not + * Note on capabilities: capabilities may exist in the chipset but may not * necessarily be useable. I.e. you may specify an IRQ in the autoconfig, but * will the port actually have an IRQ assigned to it at the hardware level? - * How can you test if the capabilites can be used? For interrupts, see if a + * How can you test if the capabilities can be used? For interrupts, see if a * handler exists (sc_intr != NULL). For DMA, see if the sc_dma_start() and * sc_dma_finish() function pointers are not NULL. */ Index: src/sys/dev/pci/hifn7751var.h diff -u src/sys/dev/pci/hifn7751var.h:1.17 src/sys/dev/pci/hifn7751var.h:1.18 --- src/sys/dev/pci/hifn7751var.h:1.17 Sun May 17 00:54:05 2020 +++ src/sys/dev/pci/hifn7751var.h Fri Dec 3 13:27:38 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: hifn7751var.h,v 1.17 2020/05/17 00:54:05 riastradh Exp $ */ +/* $NetBSD: hifn7751var.h,v 1.18 2021/12/03 13:27:38 andvar Exp $ */ /* $OpenBSD: hifn7751var.h,v 1.54 2020/01/11 21:34:04 cheloha Exp $ */ /* @@ -166,7 +166,7 @@ struct hifn_softc { int sc_d_busy; /* destination data ring busy */ int sc_r_busy; /* result ring busy */ int sc_active; /* for initial countdown */ - int sc_needwakeup; /* ops q'd wating on resources */ + int sc_needwakeup; /* ops q'd waiting on resources */ uint8_t sc_sessions[2048/NBBY]; pci_chipset_tag_t sc_pci_pc; pcitag_t sc_pci_tag; Index: src/sys/dev/pci/pci_subr.c diff -u src/sys/dev/pci/pci_subr.c:1.232 src/sys/dev/pci/pci_subr.c:1.233 --- src/sys/dev/pci/pci_subr.c:1.232 Sun Oct 10 23:28:36 2021 +++ src/sys/dev/pci/pci_subr.c Fri Dec 3 13:27:38 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: pci_subr.c,v 1.232 2021/10/10 23:28:36 msaitoh Exp $ */ +/* $NetBSD: pci_subr.c,v 1.233 2021/12/03 13:27:38 andvar Exp $ */ /* * Copyright (c) 1997 Zubin D. Dittia. All rights reserved. @@ -40,7 +40,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.232 2021/10/10 23:28:36 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.233 2021/12/03 13:27:38 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_pci.h" @@ -3899,7 +3899,7 @@ pci_conf_print_sec_pcie_cap(const pcireg reg = regs[o2i(pcie_capoff + PCIE_LCAP)]; maxlinkwidth = PCIREG_SHIFTOUT(reg, PCIE_LCAP_MAX_WIDTH); } else { - printf("error: falied to get PCIe capablity\n"); + printf("error: failed to get PCIe capability\n"); return; } for (i = 0; i < maxlinkwidth; i++) { Index: src/sys/dev/pckbport/synaptics.c diff -u src/sys/dev/pckbport/synaptics.c:1.73 src/sys/dev/pckbport/synaptics.c:1.74 --- src/sys/dev/pckbport/synaptics.c:1.73 Thu Oct 21 04:49:28 2021 +++ src/sys/dev/pckbport/synaptics.c Fri Dec 3 13:27:39 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: synaptics.c,v 1.73 2021/10/21 04:49:28 blymn Exp $ */ +/* $NetBSD: synaptics.c,v 1.74 2021/12/03 13:27:39 andvar Exp $ */ /* * Copyright (c) 2005, Steve C. Woodford @@ -48,7 +48,7 @@ #include "opt_pms.h" #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.73 2021/10/21 04:49:28 blymn Exp $"); +__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.74 2021/12/03 13:27:39 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -413,7 +413,7 @@ pms_synaptics_probe_init(void *vsc) /* Query the hardware capabilities. */ res = synaptics_special_read(psc, SYNAPTICS_READ_CAPABILITIES, resp); if (res) { - /* Hmm, failed to get capabilites. */ + /* Hmm, failed to get capabilities. */ aprint_error_dev(psc->sc_dev, "synaptics_probe: Failed to query capabilities.\n"); goto doreset; Index: src/sys/net/if_gre.h diff -u src/sys/net/if_gre.h:1.49 src/sys/net/if_gre.h:1.50 --- src/sys/net/if_gre.h:1.49 Sun Feb 14 19:33:29 2021 +++ src/sys/net/if_gre.h Fri Dec 3 13:27:39 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: if_gre.h,v 1.49 2021/02/14 19:33:29 roy Exp $ */ +/* $NetBSD: if_gre.h,v 1.50 2021/12/03 13:27:39 andvar Exp $ */ /* * Copyright (c) 1998, 2008 The NetBSD Foundation, Inc. @@ -118,7 +118,7 @@ struct gre_h { and payload Present if (ck_pres | rt_pres == 1). Valid if (ck_pres == 1). - u_int_16 offset offset from start of routing filed to + u_int_16 offset offset from start of routing field to first octet of active SRE (see below). Present if (ck_pres | rt_pres == 1). Valid if (rt_pres == 1). @@ -127,7 +127,7 @@ struct gre_h { Present if (key_pres ==1 ). u_int_32 seq_num Sequence number to allow for packet order Present if (seq_pres ==1 ). - struct gre_sre[] routing Routing fileds (see below) + struct gre_sre[] routing Routing fields (see below) Present if (rt_pres == 1) */ }; Index: src/sys/netipsec/key.c diff -u src/sys/netipsec/key.c:1.271 src/sys/netipsec/key.c:1.272 --- src/sys/netipsec/key.c:1.271 Fri Mar 13 06:55:35 2020 +++ src/sys/netipsec/key.c Fri Dec 3 13:27:39 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: key.c,v 1.271 2020/03/13 06:55:35 knakahara Exp $ */ +/* $NetBSD: key.c,v 1.272 2021/12/03 13:27:39 andvar Exp $ */ /* $FreeBSD: key.c,v 1.3.2.3 2004/02/14 22:23:23 bms Exp $ */ /* $KAME: key.c,v 1.191 2001/06/27 10:46:49 sakane Exp $ */ @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.271 2020/03/13 06:55:35 knakahara Exp $"); +__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.272 2021/12/03 13:27:39 andvar Exp $"); /* * This code is referred to RFC 2367 @@ -4900,7 +4900,7 @@ key_timehandler_spd(void) mutex_enter(&key_spd.lock); /* * To avoid for sp->created to overtake "now" because of - * wating mutex, set time_uptime here. + * waiting mutex, set time_uptime here. */ now = time_uptime; SPLIST_WRITER_FOREACH(sp, dir) { Index: src/usr.bin/cap_mkdb/cap_mkdb.c diff -u src/usr.bin/cap_mkdb/cap_mkdb.c:1.29 src/usr.bin/cap_mkdb/cap_mkdb.c:1.30 --- src/usr.bin/cap_mkdb/cap_mkdb.c:1.29 Tue Mar 26 20:58:35 2013 +++ src/usr.bin/cap_mkdb/cap_mkdb.c Fri Dec 3 13:27:39 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: cap_mkdb.c,v 1.29 2013/03/26 20:58:35 christos Exp $ */ +/* $NetBSD: cap_mkdb.c,v 1.30 2021/12/03 13:27:39 andvar Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -40,7 +40,7 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 19 #if 0 static char sccsid[] = "@(#)cap_mkdb.c 8.2 (Berkeley) 4/27/95"; #endif -__RCSID("$NetBSD: cap_mkdb.c,v 1.29 2013/03/26 20:58:35 christos Exp $"); +__RCSID("$NetBSD: cap_mkdb.c,v 1.30 2021/12/03 13:27:39 andvar Exp $"); #endif /* not lint */ #include <sys/param.h> @@ -168,7 +168,7 @@ dounlink(void) #define SHADOW (char)2 /* - * Db_build() builds the name and capabilty databases according to the + * Db_build() builds the name and capability databases according to the * details above. */ static void Index: src/usr.bin/rump_dhcpclient/net.c diff -u src/usr.bin/rump_dhcpclient/net.c:1.1 src/usr.bin/rump_dhcpclient/net.c:1.2 --- src/usr.bin/rump_dhcpclient/net.c:1.1 Thu Jan 20 18:47:20 2011 +++ src/usr.bin/rump_dhcpclient/net.c Fri Dec 3 13:27:40 2021 @@ -166,7 +166,7 @@ hwaddr_aton(unsigned char *buffer, const errno = EINVAL; return 0; } - /* Ensure that next data is EOL or a seperator with data */ + /* Ensure that next data is EOL or a separator with data */ if (!(*p == '\0' || (*p == ':' && *(p + 1) != '\0'))) { errno = EINVAL; return 0; Index: src/usr.sbin/lpr/common_source/lp.local.h diff -u src/usr.sbin/lpr/common_source/lp.local.h:1.8 src/usr.sbin/lpr/common_source/lp.local.h:1.9 --- src/usr.sbin/lpr/common_source/lp.local.h:1.8 Thu Aug 7 11:25:25 2003 +++ src/usr.sbin/lpr/common_source/lp.local.h Fri Dec 3 13:27:40 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: lp.local.h,v 1.8 2003/08/07 11:25:25 agc Exp $ */ +/* $NetBSD: lp.local.h,v 1.9 2021/12/03 13:27:40 andvar Exp $ */ /* * Copyright (c) 1983, 1993 @@ -67,7 +67,7 @@ #define DROP 3 /* offset to drop characters with descenders */ /* - * Define TERMCAP if the terminal capabilites are to be used for lpq. + * Define TERMCAP if the terminal capabilities are to be used for lpq. */ #define TERMCAP