From 662cac9f231e3c339f011b554d232603cc58df90 Mon Sep 17 00:00:00 2001 From: Christian Brueffer Date: Wed, 26 Mar 2008 07:32:08 +0000 Subject: [PATCH] Fix some "in in" typos in comments. PR: 121490 Submitted by: Anatoly Borodin Approved by: rwatson (mentor), jkoshy MFC after: 3 days --- lib/libc/yp/xdryp.c | 2 +- lib/libc_r/uthread/uthread_sig.c | 2 +- lib/libelf/libelf_convert.m4 | 2 +- lib/libkse/thread/thr_sig.c | 2 +- libexec/talkd/announce.c | 2 +- share/man/man7/security.7 | 2 +- sys/boot/i386/cdboot/cdboot.s | 2 +- sys/boot/pc98/cdboot/cdboot.s | 2 +- sys/dev/ti/if_ti.c | 2 +- sys/i386/isa/vesa.c | 2 +- usr.bin/checknr/checknr.c | 2 +- usr.bin/xlint/lint1/lint1.h | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/libc/yp/xdryp.c b/lib/libc/yp/xdryp.c index 7aed6ad3af84..ec2f71a1a2aa 100644 --- a/lib/libc/yp/xdryp.c +++ b/lib/libc/yp/xdryp.c @@ -42,7 +42,7 @@ extern void *ypresp_data; * I'm leaving the xdr_datum() function in purely for backwards * compatibility. yplib.c doesn't actually use it, but it's listed * in yp_prot.h as being available, so it's probably a good idea to - * leave it in in case somebody goes looking for it. + * leave it in case somebody goes looking for it. */ typedef struct { char *dptr; diff --git a/lib/libc_r/uthread/uthread_sig.c b/lib/libc_r/uthread/uthread_sig.c index d6045a0e1df3..7f700b25d152 100644 --- a/lib/libc_r/uthread/uthread_sig.c +++ b/lib/libc_r/uthread/uthread_sig.c @@ -342,7 +342,7 @@ thread_sig_find(int sig) * Enter a loop to look for threads that have the signal * unmasked. POSIX specifies that a thread in a sigwait * will get the signal over any other threads. Second - * preference will be threads in in a sigsuspend. Third + * preference will be threads in a sigsuspend. Third * preference will be the current thread. If none of the * above, then the signal is delivered to the first thread * that is found. Note that if a custom handler is not diff --git a/lib/libelf/libelf_convert.m4 b/lib/libelf/libelf_convert.m4 index 5d0c21fce017..e3766fc1af14 100644 --- a/lib/libelf/libelf_convert.m4 +++ b/lib/libelf/libelf_convert.m4 @@ -136,7 +136,7 @@ __FBSDID("$FreeBSD$"); /* * Read in various integral values. The source pointer could be - * unaligned. Values are read in in native byte order. The source + * unaligned. Values are read in native byte order. The source * pointer is incremented appropriately. */ diff --git a/lib/libkse/thread/thr_sig.c b/lib/libkse/thread/thr_sig.c index ad1f728f641f..e3cf5bb622d8 100644 --- a/lib/libkse/thread/thr_sig.c +++ b/lib/libkse/thread/thr_sig.c @@ -663,7 +663,7 @@ thr_sig_find(struct kse *curkse, int sig, siginfo_t *info __unused) * Enter a loop to look for threads that have the signal * unmasked. POSIX specifies that a thread in a sigwait * will get the signal over any other threads. Second - * preference will be threads in in a sigsuspend. Third + * preference will be threads in a sigsuspend. Third * preference will be the current thread. If none of the * above, then the signal is delivered to the first thread * that is found. Note that if a custom handler is not diff --git a/libexec/talkd/announce.c b/libexec/talkd/announce.c index ca64541d80ed..4ebeb261a826 100644 --- a/libexec/talkd/announce.c +++ b/libexec/talkd/announce.c @@ -91,7 +91,7 @@ announce(CTL_MSG *request, const char *remote_machine) * Build a block of characters containing the message. * It is sent blank filled and in a single block to * try to keep the message in one piece if the recipient - * in in vi at the time + * in vi at the time */ int print_mesg(const char *tty, CTL_MSG *request, diff --git a/share/man/man7/security.7 b/share/man/man7/security.7 index 68cec46c83ad..9a4a4afcd57d 100644 --- a/share/man/man7/security.7 +++ b/share/man/man7/security.7 @@ -138,7 +138,7 @@ This gives you a convenient way to detect the attacker. Making it impossible for an attacker to install a backdoor may actually be detrimental to your security because it will not close off the hole the attacker used to -break in in the first place. +break in the first place. .Pp Security remedies should always be implemented with a multi-layered .Dq onion peel diff --git a/sys/boot/i386/cdboot/cdboot.s b/sys/boot/i386/cdboot/cdboot.s index 8115589da68c..7d2a840a921d 100644 --- a/sys/boot/i386/cdboot/cdboot.s +++ b/sys/boot/i386/cdboot/cdboot.s @@ -174,7 +174,7 @@ lookup_path: push %si # Save file name pointer lookup_found: # Found a loader file # # Load the binary into the buffer. Due to real mode addressing limitations -# we have to read it in in 64k chunks. +# we have to read it in 64k chunks. # mov DIR_SIZE(%bx),%eax # Read file length add $SECTOR_SIZE-1,%eax # Convert length to sectors diff --git a/sys/boot/pc98/cdboot/cdboot.s b/sys/boot/pc98/cdboot/cdboot.s index 14af0a7f2b45..b6efeef64671 100644 --- a/sys/boot/pc98/cdboot/cdboot.s +++ b/sys/boot/pc98/cdboot/cdboot.s @@ -415,7 +415,7 @@ lookup_path: push %si # Save file name pointer lookup_found: # Found a loader file # # Load the binary into the buffer. Due to real mode addressing limitations -# we have to read it in in 64k chunks. +# we have to read it in 64k chunks. # mov %es:DIR_SIZE(%bx),%eax # Read file length add $SECTOR_SIZE-1,%eax # Convert length to sectors diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c index 77150e31cd64..fd9d8ca62a37 100644 --- a/sys/dev/ti/if_ti.c +++ b/sys/dev/ti/if_ti.c @@ -3686,7 +3686,7 @@ ti_ioctl2(struct cdev *dev, u_long cmd, caddr_t addr, int flag, * to the Tigon board you're interested in. This seems * like a not-so-good way to do things, since unless you * subsequently specify the unit number of the device - * you're interested in in every ioctl, you'll only be + * you're interested in every ioctl, you'll only be * able to debug one board at a time. */ error = 0; diff --git a/sys/i386/isa/vesa.c b/sys/i386/isa/vesa.c index 2fe79bf0f500..a1e2a76a3aa8 100644 --- a/sys/i386/isa/vesa.c +++ b/sys/i386/isa/vesa.c @@ -1384,7 +1384,7 @@ get_palette(video_adapter_t *adp, int base, int count, } free(r, M_DEVBUF); - /* if error && bits != 6 at this point, we are in in trouble... XXX */ + /* if error && bits != 6 at this point, we are in trouble... XXX */ return error; } diff --git a/usr.bin/checknr/checknr.c b/usr.bin/checknr/checknr.c index 742c74e5de60..dd4c726220b1 100644 --- a/usr.bin/checknr/checknr.c +++ b/usr.bin/checknr/checknr.c @@ -83,7 +83,7 @@ struct stkstr { int opno; /* number of opening bracket */ int pl; /* '+', '-', ' ' for \s, 1 for \f, 0 for .ft */ int parm; /* parm to size, font, etc */ - int lno; /* line number the thing came in in */ + int lno; /* line number the thing came in */ } stk[MAXSTK]; int stktop; diff --git a/usr.bin/xlint/lint1/lint1.h b/usr.bin/xlint/lint1/lint1.h index 4594f185dd26..fe1a524b98f5 100644 --- a/usr.bin/xlint/lint1/lint1.h +++ b/usr.bin/xlint/lint1/lint1.h @@ -325,7 +325,7 @@ typedef struct dinfo { u_int d_mscl : 1; /* multiple storage classes */ u_int d_terr : 1; /* invalid type combination */ u_int d_nedecl : 1; /* 1 if at least a tag is declared */ - u_int d_vararg : 1; /* ... in in current function decl. */ + u_int d_vararg : 1; /* ... in current function decl. */ u_int d_proto : 1; /* current funct. decl. is prototype */ u_int d_notyp : 1; /* set if no type specifier was present */ u_int d_asm : 1; /* set if d_ctx == AUTO and asm() present */