From e365329be559d88411d0e2a5c98f093f740e2e5d Mon Sep 17 00:00:00 2001 From: wiz Date: Fri, 13 Feb 2004 18:02:05 +0000 Subject: [PATCH] Spell length with h after t. Inspired by a commit by brad@openbsd. --- sbin/pppoectl/pppoectl.c | 6 +++--- sys/altq/altq_blue.c | 6 +++--- sys/altq/altq_fifoq.h | 4 ++-- sys/altq/altq_red.c | 6 +++--- sys/altq/altq_rio.c | 6 +++--- sys/dev/ic/advlib.h | 4 ++-- sys/dev/pci/hifn7751reg.h | 4 ++-- sys/netisdn/i4b_l2.h | 8 ++++---- sys/netisdn/i4b_q931.h | 4 ++-- 9 files changed, 24 insertions(+), 24 deletions(-) diff --git a/sbin/pppoectl/pppoectl.c b/sbin/pppoectl/pppoectl.c index 4eec535059f4..1407d0ea5290 100644 --- a/sbin/pppoectl/pppoectl.c +++ b/sbin/pppoectl/pppoectl.c @@ -1,4 +1,4 @@ -/* $NetBSD: pppoectl.c,v 1.14 2003/09/06 19:35:35 martin Exp $ */ +/* $NetBSD: pppoectl.c,v 1.15 2004/02/13 18:02:05 wiz Exp $ */ /* * Copyright (c) 1997 Joerg Wunsch @@ -31,7 +31,7 @@ #include #ifndef lint -__RCSID("$NetBSD: pppoectl.c,v 1.14 2003/09/06 19:35:35 martin Exp $"); +__RCSID("$NetBSD: pppoectl.c,v 1.15 2004/02/13 18:02:05 wiz Exp $"); #endif @@ -260,7 +260,7 @@ main(int argc, char **argv) if (argc == 0 && !(dns1||dns2) && !configname) { /* list only mode */ - /* first pass, get name lenghts */ + /* first pass, get name lengths */ if (ioctl(s, SPPPGETAUTHCFG, &spr) == -1) err(EX_OSERR, "SPPPGETAUTHCFG"); /* now allocate buffers for strings */ diff --git a/sys/altq/altq_blue.c b/sys/altq/altq_blue.c index 391e848fbdfd..b6bf64193ef5 100644 --- a/sys/altq/altq_blue.c +++ b/sys/altq/altq_blue.c @@ -1,4 +1,4 @@ -/* $NetBSD: altq_blue.c,v 1.8 2003/11/09 22:11:12 christos Exp $ */ +/* $NetBSD: altq_blue.c,v 1.9 2004/02/13 18:02:05 wiz Exp $ */ /* $KAME: altq_blue.c,v 1.8 2002/01/07 11:25:40 kjc Exp $ */ /* @@ -61,7 +61,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: altq_blue.c,v 1.8 2003/11/09 22:11:12 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: altq_blue.c,v 1.9 2004/02/13 18:02:05 wiz Exp $"); #if defined(__FreeBSD__) || defined(__NetBSD__) #include "opt_altq.h" @@ -106,7 +106,7 @@ __KERNEL_RCSID(0, "$NetBSD: altq_blue.c,v 1.8 2003/11/09 22:11:12 christos Exp $ /* fixed-point uses 12-bit decimal places */ #define FP_SHIFT 12 /* fixed-point shift */ -#define BLUE_LIMIT 200 /* default max queue lenght */ +#define BLUE_LIMIT 200 /* default max queue length */ /* blue_list keeps all blue_state_t's allocated. */ static blue_queue_t *blue_list = NULL; diff --git a/sys/altq/altq_fifoq.h b/sys/altq/altq_fifoq.h index 4e12f28359b4..93758e60fc8a 100644 --- a/sys/altq/altq_fifoq.h +++ b/sys/altq/altq_fifoq.h @@ -1,4 +1,4 @@ -/* $NetBSD: altq_fifoq.h,v 1.2 2000/12/14 08:49:50 thorpej Exp $ */ +/* $NetBSD: altq_fifoq.h,v 1.3 2004/02/13 18:02:05 wiz Exp $ */ /* $KAME: altq_fifoq.h,v 1.6 2000/12/14 08:12:45 thorpej Exp $ */ /* @@ -65,7 +65,7 @@ struct fifoq_conf { int fifoq_limit; }; -#define FIFOQ_LIMIT 50 /* default max queue lenght */ +#define FIFOQ_LIMIT 50 /* default max queue length */ /* * IOCTLs for FIFOQ diff --git a/sys/altq/altq_red.c b/sys/altq/altq_red.c index 1da6d62b8604..74449df65f52 100644 --- a/sys/altq/altq_red.c +++ b/sys/altq/altq_red.c @@ -1,4 +1,4 @@ -/* $NetBSD: altq_red.c,v 1.9 2003/11/09 22:11:12 christos Exp $ */ +/* $NetBSD: altq_red.c,v 1.10 2004/02/13 18:02:05 wiz Exp $ */ /* $KAME: altq_red.c,v 1.9 2002/01/07 11:25:40 kjc Exp $ */ /* @@ -61,7 +61,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: altq_red.c,v 1.9 2003/11/09 22:11:12 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: altq_red.c,v 1.10 2004/02/13 18:02:05 wiz Exp $"); #if defined(__FreeBSD__) || defined(__NetBSD__) #include "opt_altq.h" @@ -160,7 +160,7 @@ __KERNEL_RCSID(0, "$NetBSD: altq_red.c,v 1.9 2003/11/09 22:11:12 christos Exp $" #define TH_MIN 5 /* min threshold */ #define TH_MAX 15 /* max threshold */ -#define RED_LIMIT 60 /* default max queue lenght */ +#define RED_LIMIT 60 /* default max queue length */ /* * our default policy for forced-drop is drop-tail. diff --git a/sys/altq/altq_rio.c b/sys/altq/altq_rio.c index 50310f4be2bf..50028f1e2370 100644 --- a/sys/altq/altq_rio.c +++ b/sys/altq/altq_rio.c @@ -1,4 +1,4 @@ -/* $NetBSD: altq_rio.c,v 1.5 2003/11/09 22:11:12 christos Exp $ */ +/* $NetBSD: altq_rio.c,v 1.6 2004/02/13 18:02:05 wiz Exp $ */ /* $KAME: altq_rio.c,v 1.8 2000/12/14 08:12:46 thorpej Exp $ */ /* @@ -60,7 +60,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: altq_rio.c,v 1.5 2003/11/09 22:11:12 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: altq_rio.c,v 1.6 2004/02/13 18:02:05 wiz Exp $"); #if defined(__FreeBSD__) || defined(__NetBSD__) #include "opt_altq.h" @@ -149,7 +149,7 @@ __KERNEL_RCSID(0, "$NetBSD: altq_rio.c,v 1.5 2003/11/09 22:11:12 christos Exp $" #define TH_MIN 5 /* min threshold */ #define TH_MAX 15 /* max threshold */ -#define RIO_LIMIT 60 /* default max queue lenght */ +#define RIO_LIMIT 60 /* default max queue length */ #define TV_DELTA(a, b, delta) { \ register int xxs; \ diff --git a/sys/dev/ic/advlib.h b/sys/dev/ic/advlib.h index 5f3fd1893d27..5b08ef994fa9 100644 --- a/sys/dev/ic/advlib.h +++ b/sys/dev/ic/advlib.h @@ -1,4 +1,4 @@ -/* $NetBSD: advlib.h,v 1.13 2001/04/25 17:53:29 bouyer Exp $ */ +/* $NetBSD: advlib.h,v 1.14 2004/02/13 18:02:05 wiz Exp $ */ /* * Definitions for low level routines and data structures @@ -452,7 +452,7 @@ typedef struct asc_scisq_1 u_int32_t data_addr; /* physical address of first segment to transef */ u_int32_t data_cnt; /* byte count of first segment to transfer */ u_int32_t sense_addr; /* physical address of the sense buffer */ - u_int8_t sense_len; /* lenght of sense buffer */ + u_int8_t sense_len; /* length of sense buffer */ u_int8_t extra_bytes; } ASC_SCSIQ_1; diff --git a/sys/dev/pci/hifn7751reg.h b/sys/dev/pci/hifn7751reg.h index e5b31b3d1195..c30d2f0543a4 100644 --- a/sys/dev/pci/hifn7751reg.h +++ b/sys/dev/pci/hifn7751reg.h @@ -1,4 +1,4 @@ -/* $NetBSD: hifn7751reg.h,v 1.5 2003/11/16 00:22:09 jonathan Exp $ */ +/* $NetBSD: hifn7751reg.h,v 1.6 2004/02/13 18:02:05 wiz Exp $ */ /* $OpenBSD: hifn7751reg.h,v 1.43 2003/06/02 15:58:41 deraadt Exp $ */ /* @@ -322,7 +322,7 @@ struct hifn_desc { #define HIFN_PUBOPLEN_MOD_M 0x0000007f /* modulus length mask */ #define HIFN_PUBOPLEN_MOD_S 0 /* modulus length shift */ #define HIFN_PUBOPLEN_EXP_M 0x0003ff80 /* exponent length mask */ -#define HIFN_PUBOPLEN_EXP_S 7 /* exponent lenght shift */ +#define HIFN_PUBOPLEN_EXP_S 7 /* exponent length shift */ #define HIFN_PUBOPLEN_RED_M 0x003c0000 /* reducend length mask */ #define HIFN_PUBOPLEN_RED_S 18 /* reducend length shift */ diff --git a/sys/netisdn/i4b_l2.h b/sys/netisdn/i4b_l2.h index 9f8e7b4c632a..ca9bfb5bd734 100644 --- a/sys/netisdn/i4b_l2.h +++ b/sys/netisdn/i4b_l2.h @@ -1,4 +1,4 @@ -/* $NetBSD: i4b_l2.h,v 1.8 2003/10/03 16:38:44 pooka Exp $ */ +/* $NetBSD: i4b_l2.h,v 1.9 2004/02/13 18:02:05 wiz Exp $ */ /* * Copyright (c) 1997, 2000 Hellmuth Michaelis. All rights reserved. @@ -29,7 +29,7 @@ * i4b_l2.h - ISDN layer 2 (Q.921) definitions * --------------------------------------------- * - * $Id: i4b_l2.h,v 1.8 2003/10/03 16:38:44 pooka Exp $ + * $Id: i4b_l2.h,v 1.9 2004/02/13 18:02:05 wiz Exp $ * * $FreeBSD$ * @@ -197,7 +197,7 @@ typedef enum { /* S frames */ -#define S_FRAME_LEN 4 /* lenght of a U-frame */ +#define S_FRAME_LEN 4 /* length of a U-frame */ #define OFF_SRCR 2 /* 1st byte of control field, */ /* R-commands and R-responses */ #define OFF_SNR 3 /* 2nd byte of control field, N(R) and PF */ @@ -213,7 +213,7 @@ typedef enum { /* U frames */ #define UI_HDR_LEN 3 /* length of UI header in front of L3 frame */ -#define U_FRAME_LEN 3 /* lenght of a U-frame */ +#define U_FRAME_LEN 3 /* length of a U-frame */ #define UPFBIT 0x10 /* poll/final bit mask */ #define UPBITSET UPFBIT #define UFBITSET UPFBIT diff --git a/sys/netisdn/i4b_q931.h b/sys/netisdn/i4b_q931.h index 8c1456e7d7fa..835ba273232b 100644 --- a/sys/netisdn/i4b_q931.h +++ b/sys/netisdn/i4b_q931.h @@ -27,7 +27,7 @@ * i4b_q931.h - Q931 handling header file * -------------------------------------- * - * $Id: i4b_q931.h,v 1.1.1.1 2001/01/05 12:49:56 martin Exp $ + * $Id: i4b_q931.h,v 1.2 2004/02/13 18:02:05 wiz Exp $ * * $FreeBSD$ * @@ -74,7 +74,7 @@ #define MSG_SETUP_LEN 18 /* without number strings ! */ -#define IEI_BEARERCAP_LEN 2 /* 2 octetts lenght */ +#define IEI_BEARERCAP_LEN 2 /* 2 octetts length */ #define IT_CAP_SPEECH 0x80 /* BC: information xfer capability */ #define IT_CAP_UNR_DIG_INFO 0x88 /* BC: information xfer capability */