From 3b26fa5cee9b2e96009ee116a0b1e10a6c6edf76 Mon Sep 17 00:00:00 2001 From: andvar Date: Fri, 30 Dec 2022 09:08:47 +0000 Subject: [PATCH] s/succes/success/ in comments. --- distrib/atari/floppies/prepare/install.sh | 4 ++-- distrib/miniroot/install.sub | 4 ++-- sys/dev/ic/seeq8003reg.h | 4 ++-- sys/ufs/chfs/ebh.c | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/distrib/atari/floppies/prepare/install.sh b/distrib/atari/floppies/prepare/install.sh index 63d53cdf8b20..68ba713e7185 100644 --- a/distrib/atari/floppies/prepare/install.sh +++ b/distrib/atari/floppies/prepare/install.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: install.sh,v 1.4 2022/05/03 20:52:30 andvar Exp $ +# $NetBSD: install.sh,v 1.5 2022/12/30 09:08:47 andvar Exp $ # # Copyright (c) 1996 The NetBSD Foundation, Inc. # All rights reserved. @@ -61,7 +61,7 @@ getresp() { } isin() { -# test the first argument against the remaining ones, return succes on a match +# test the first argument against the remaining ones, return success on a match local a=$1 shift while [ $# != 0 ]; do diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 5dea2cffdbcb..b74881a2a824 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: install.sub,v 1.63 2022/03/13 14:20:24 andvar Exp $ +# $NetBSD: install.sub,v 1.64 2022/12/30 09:08:47 andvar Exp $ # # Copyright (c) 1996 The NetBSD Foundation, Inc. # All rights reserved. @@ -63,7 +63,7 @@ getresp() { } isin() { -# test the first argument against the remaining ones, return succes on a match +# test the first argument against the remaining ones, return success on a match _a=$1; shift while [ $# != 0 ]; do if [ "$_a" = "$1" ]; then return 0; fi diff --git a/sys/dev/ic/seeq8003reg.h b/sys/dev/ic/seeq8003reg.h index 0237920cce4c..613b35921d6d 100644 --- a/sys/dev/ic/seeq8003reg.h +++ b/sys/dev/ic/seeq8003reg.h @@ -1,4 +1,4 @@ -/* $NetBSD: seeq8003reg.h,v 1.3 2001/06/07 05:19:26 thorpej Exp $ */ +/* $NetBSD: seeq8003reg.h,v 1.4 2022/12/30 09:08:48 andvar Exp $ */ /* * Copyright (c) 2000 Soren S. Jorvang. All rights reserved. @@ -76,7 +76,7 @@ #define TXCMD_IE_UFLOW 0x01 /* Interrupt on Transmit Underflow */ #define TXCMD_IE_COLL 0x02 /* Interrupt on Transmit Collision */ #define TXCMD_IE_16COLL 0x04 /* Interrupt on 16 Collisions */ -#define TXCMD_IE_GOOD 0x08 /* Interrupt on Transmit Succes */ +#define TXCMD_IE_GOOD 0x08 /* Interrupt on Transmit Success */ #define TXCMD_ENABLE_C 0xf0 /* (80C03) Enable 80C03 Mode */ #define TXCMD_BANK_MASK 0x60 /* (80C03) Register Bank Mask */ #define TXCMD_BANK0 0x00 /* (80C03) Register Bank 0 (8003) */ diff --git a/sys/ufs/chfs/ebh.c b/sys/ufs/chfs/ebh.c index a6cfa9ae9851..44c433043bc4 100644 --- a/sys/ufs/chfs/ebh.c +++ b/sys/ufs/chfs/ebh.c @@ -1,4 +1,4 @@ -/* $NetBSD: ebh.c,v 1.9 2021/12/07 21:37:37 andvar Exp $ */ +/* $NetBSD: ebh.c,v 1.10 2022/12/30 09:08:48 andvar Exp $ */ /*- * Copyright (c) 2010 Department of Software Engineering, @@ -924,7 +924,7 @@ erase_callback(struct flash_erase_instruction *ei) * * This function erases the first physical eraseblock from one of the erase * lists and adds to the RB-tree of free PEBs. - * Returns zero in case of succes, error code in case of fail. + * Returns zero in case of success, error code in case of fail. */ int free_peb(struct chfs_ebh *ebh)