s/succes/success/ in comments.

This commit is contained in:
andvar 2022-12-30 09:08:47 +00:00
parent eb2e80c2bd
commit 3b26fa5cee
4 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/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. # Copyright (c) 1996 The NetBSD Foundation, Inc.
# All rights reserved. # All rights reserved.
@ -61,7 +61,7 @@ getresp() {
} }
isin() { 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 local a=$1
shift shift
while [ $# != 0 ]; do while [ $# != 0 ]; do

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/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. # Copyright (c) 1996 The NetBSD Foundation, Inc.
# All rights reserved. # All rights reserved.
@ -63,7 +63,7 @@ getresp() {
} }
isin() { 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 _a=$1; shift
while [ $# != 0 ]; do while [ $# != 0 ]; do
if [ "$_a" = "$1" ]; then return 0; fi if [ "$_a" = "$1" ]; then return 0; fi

View File

@ -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. * 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_UFLOW 0x01 /* Interrupt on Transmit Underflow */
#define TXCMD_IE_COLL 0x02 /* Interrupt on Transmit Collision */ #define TXCMD_IE_COLL 0x02 /* Interrupt on Transmit Collision */
#define TXCMD_IE_16COLL 0x04 /* Interrupt on 16 Collisions */ #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_ENABLE_C 0xf0 /* (80C03) Enable 80C03 Mode */
#define TXCMD_BANK_MASK 0x60 /* (80C03) Register Bank Mask */ #define TXCMD_BANK_MASK 0x60 /* (80C03) Register Bank Mask */
#define TXCMD_BANK0 0x00 /* (80C03) Register Bank 0 (8003) */ #define TXCMD_BANK0 0x00 /* (80C03) Register Bank 0 (8003) */

View File

@ -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, * 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 * This function erases the first physical eraseblock from one of the erase
* lists and adds to the RB-tree of free PEBs. * 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 int
free_peb(struct chfs_ebh *ebh) free_peb(struct chfs_ebh *ebh)