Re: transferred/transferring typos

2012-02-23 Thread Philip Guenther
On Thu, Feb 23, 2012 at 5:56 PM, Tobias Ulmer  wrote:
> Anyone brave enough to commit this diff or should I put it into the
> round file? :)

Committed.  Thanks for the poke...


Philip Guenther



Re: transferred/transferring typos

2012-02-23 Thread Tobias Ulmer
Anyone brave enough to commit this diff or should I put it into the
round file? :)



Re: transferred/transferring typos

2012-01-08 Thread Kenneth R Westerback
On Sat, Jan 07, 2012 at 02:40:24PM +, Jason McIntyre wrote:
> On Sat, Jan 07, 2012 at 03:29:40PM +0100, Tobias Ulmer wrote:
> > After typing 'transferring' wrong one time too many...
> > 
> > I didn't touch gcc, binutils, bind, lynx, kerberos, openssl or perl on
> > purpose.
> > 
> 
> ok by me.
> jmc

Me too. ok krw@. Typos are very distracting when reading code.

 Ken

> 
> > Index: lib/libsndio/sio_sun.c
> > ===
> > RCS file: /home/vcs/cvs/openbsd/src/lib/libsndio/sio_sun.c,v
> > retrieving revision 1.4
> > diff -u -p -r1.4 sio_sun.c
> > --- lib/libsndio/sio_sun.c  15 Nov 2011 08:05:22 -  1.4
> > +++ lib/libsndio/sio_sun.c  7 Jan 2012 14:11:33 -
> > @@ -48,7 +48,7 @@ struct sio_sun_hdl {
> > int fd;
> > int filling;
> > unsigned ibpf, obpf;/* bytes per frame */
> > -   unsigned ibytes, obytes;/* bytes the hw transfered */
> > +   unsigned ibytes, obytes;/* bytes the hw transferred */
> > unsigned ierr, oerr;/* frames the hw dropped */
> > int offset; /* frames play is ahead of record */
> > int idelta, odelta; /* position reported to client */
> > Index: sys/arch/macppc/dev/tpms.c
> > ===
> > RCS file: /home/vcs/cvs/openbsd/src/sys/arch/macppc/dev/tpms.c,v
> > retrieving revision 1.15
> > diff -u -p -r1.15 tpms.c
> > --- sys/arch/macppc/dev/tpms.c  9 Apr 2010 17:01:30 -   1.15
> > +++ sys/arch/macppc/dev/tpms.c  7 Jan 2012 14:11:45 -
> > @@ -128,7 +128,7 @@
> >   * Magic numbers.
> >   */
> >  
> > -/* The amount of data transfered by the USB device. */
> > +/* The amount of data transferred by the USB device. */
> >  #define TPMS_DATA_LEN 81
> >  
> >  /* The maximum number of sensors. */
> > Index: sys/arch/vax/dec/sii.c
> > ===
> > RCS file: /home/vcs/cvs/openbsd/src/sys/arch/vax/dec/sii.c,v
> > retrieving revision 1.13
> > diff -u -p -r1.13 sii.c
> > --- sys/arch/vax/dec/sii.c  17 Jul 2011 22:46:47 -  1.13
> > +++ sys/arch/vax/dec/sii.c  7 Jan 2012 14:11:51 -
> > @@ -645,7 +645,7 @@ again:
> > printf("%s: Parity error\n", sc->sc_dev.dv_xname);
> > goto abort;
> > }
> > -   /* dmalen = amount left to transfer, i = amount transfered */
> > +   /* dmalen = amount left to transfer, i = amount transferred */
> > i = state->dmalen;
> > state->dmalen = 0;
> > state->dmaCurPhase = -1;
> > @@ -899,7 +899,7 @@ again:
> >  #endif
> > }
> >  
> > -   /* read amount transfered if DMA didn't finish */
> > +   /* read amount transferred if DMA didn't finish */
> > if (state->dmalen > 0) {
> > i = state->dmalen - regs->dmlotc;
> > state->dmalen = 0;
> > Index: sys/dev/ata/wdvar.h
> > ===
> > RCS file: /home/vcs/cvs/openbsd/src/sys/dev/ata/wdvar.h,v
> > retrieving revision 1.18
> > diff -u -p -r1.18 wdvar.h
> > --- sys/dev/ata/wdvar.h 22 Sep 2011 22:12:45 -  1.18
> > +++ sys/dev/ata/wdvar.h 7 Jan 2012 14:11:57 -
> > @@ -44,8 +44,8 @@ struct ata_bio {
> >  struct disklabel *lp; /* pointer to drive's label info */
> >  daddr64_t blkno; /* block addr */
> >  daddr64_t blkdone; /* number of blks transferred */
> > -daddr64_t nblks; /* number of block currently transfering */
> > -int nbytes; /* number of bytes currently transfering */
> > +daddr64_t nblks; /* number of block currently transferring */
> > +int nbytes; /* number of bytes currently transferring */
> >  longbcount; /* total number of bytes */
> >  char   *databuf; /* data buffer address */
> >  volatile int error;
> > Index: sys/dev/ic/aic79xx.c
> > ===
> > RCS file: /home/vcs/cvs/openbsd/src/sys/dev/ic/aic79xx.c,v
> > retrieving revision 1.48
> > diff -u -p -r1.48 aic79xx.c
> > --- sys/dev/ic/aic79xx.c19 Apr 2011 21:59:51 -  1.48
> > +++ sys/dev/ic/aic79xx.c7 Jan 2012 14:11:57 -
> > @@ -1225,7 +1225,7 @@ ahd_handle_seqint(struct ahd_softc *ahd,
> >  * that requires host assistance for completion.
> >  * While handling the message phase(s), we will be
> >  * notified by the sequencer after each byte is
> > -* transfered so we can track bus phase changes.
> > +* transferred so we can track bus phase changes.
> >  *
> >  * If this is the first time we've seen a HOST_MSG_LOOP
> >  * interrupt, initialize the state of the host message
> > Index: sys/dev/ic/aic79xx.h
> > =

Re: transferred/transferring typos

2012-01-07 Thread Jason McIntyre
On Sat, Jan 07, 2012 at 03:29:40PM +0100, Tobias Ulmer wrote:
> After typing 'transferring' wrong one time too many...
> 
> I didn't touch gcc, binutils, bind, lynx, kerberos, openssl or perl on
> purpose.
> 

ok by me.
jmc

> Index: lib/libsndio/sio_sun.c
> ===
> RCS file: /home/vcs/cvs/openbsd/src/lib/libsndio/sio_sun.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 sio_sun.c
> --- lib/libsndio/sio_sun.c15 Nov 2011 08:05:22 -  1.4
> +++ lib/libsndio/sio_sun.c7 Jan 2012 14:11:33 -
> @@ -48,7 +48,7 @@ struct sio_sun_hdl {
>   int fd;
>   int filling;
>   unsigned ibpf, obpf;/* bytes per frame */
> - unsigned ibytes, obytes;/* bytes the hw transfered */
> + unsigned ibytes, obytes;/* bytes the hw transferred */
>   unsigned ierr, oerr;/* frames the hw dropped */
>   int offset; /* frames play is ahead of record */
>   int idelta, odelta; /* position reported to client */
> Index: sys/arch/macppc/dev/tpms.c
> ===
> RCS file: /home/vcs/cvs/openbsd/src/sys/arch/macppc/dev/tpms.c,v
> retrieving revision 1.15
> diff -u -p -r1.15 tpms.c
> --- sys/arch/macppc/dev/tpms.c9 Apr 2010 17:01:30 -   1.15
> +++ sys/arch/macppc/dev/tpms.c7 Jan 2012 14:11:45 -
> @@ -128,7 +128,7 @@
>   * Magic numbers.
>   */
>  
> -/* The amount of data transfered by the USB device. */
> +/* The amount of data transferred by the USB device. */
>  #define TPMS_DATA_LEN 81
>  
>  /* The maximum number of sensors. */
> Index: sys/arch/vax/dec/sii.c
> ===
> RCS file: /home/vcs/cvs/openbsd/src/sys/arch/vax/dec/sii.c,v
> retrieving revision 1.13
> diff -u -p -r1.13 sii.c
> --- sys/arch/vax/dec/sii.c17 Jul 2011 22:46:47 -  1.13
> +++ sys/arch/vax/dec/sii.c7 Jan 2012 14:11:51 -
> @@ -645,7 +645,7 @@ again:
>   printf("%s: Parity error\n", sc->sc_dev.dv_xname);
>   goto abort;
>   }
> - /* dmalen = amount left to transfer, i = amount transfered */
> + /* dmalen = amount left to transfer, i = amount transferred */
>   i = state->dmalen;
>   state->dmalen = 0;
>   state->dmaCurPhase = -1;
> @@ -899,7 +899,7 @@ again:
>  #endif
>   }
>  
> - /* read amount transfered if DMA didn't finish */
> + /* read amount transferred if DMA didn't finish */
>   if (state->dmalen > 0) {
>   i = state->dmalen - regs->dmlotc;
>   state->dmalen = 0;
> Index: sys/dev/ata/wdvar.h
> ===
> RCS file: /home/vcs/cvs/openbsd/src/sys/dev/ata/wdvar.h,v
> retrieving revision 1.18
> diff -u -p -r1.18 wdvar.h
> --- sys/dev/ata/wdvar.h   22 Sep 2011 22:12:45 -  1.18
> +++ sys/dev/ata/wdvar.h   7 Jan 2012 14:11:57 -
> @@ -44,8 +44,8 @@ struct ata_bio {
>  struct disklabel *lp; /* pointer to drive's label info */
>  daddr64_t blkno; /* block addr */
>  daddr64_t blkdone; /* number of blks transferred */
> -daddr64_t nblks; /* number of block currently transfering */
> -int nbytes; /* number of bytes currently transfering */
> +daddr64_t nblks; /* number of block currently transferring */
> +int nbytes; /* number of bytes currently transferring */
>  longbcount; /* total number of bytes */
>  char   *databuf; /* data buffer address */
>  volatile int error;
> Index: sys/dev/ic/aic79xx.c
> ===
> RCS file: /home/vcs/cvs/openbsd/src/sys/dev/ic/aic79xx.c,v
> retrieving revision 1.48
> diff -u -p -r1.48 aic79xx.c
> --- sys/dev/ic/aic79xx.c  19 Apr 2011 21:59:51 -  1.48
> +++ sys/dev/ic/aic79xx.c  7 Jan 2012 14:11:57 -
> @@ -1225,7 +1225,7 @@ ahd_handle_seqint(struct ahd_softc *ahd,
>* that requires host assistance for completion.
>* While handling the message phase(s), we will be
>* notified by the sequencer after each byte is
> -  * transfered so we can track bus phase changes.
> +  * transferred so we can track bus phase changes.
>*
>* If this is the first time we've seen a HOST_MSG_LOOP
>* interrupt, initialize the state of the host message
> Index: sys/dev/ic/aic79xx.h
> ===
> RCS file: /home/vcs/cvs/openbsd/src/sys/dev/ic/aic79xx.h,v
> retrieving revision 1.21
> diff -u -p -r1.21 aic79xx.h
> --- sys/dev/ic/aic79xx.h  21 Dec 2006 02:28:47 -  1.21
> +++ sys/dev/ic/aic79xx.h 

transferred/transferring typos

2012-01-07 Thread Tobias Ulmer
After typing 'transferring' wrong one time too many...

I didn't touch gcc, binutils, bind, lynx, kerberos, openssl or perl on
purpose.

Index: lib/libsndio/sio_sun.c
===
RCS file: /home/vcs/cvs/openbsd/src/lib/libsndio/sio_sun.c,v
retrieving revision 1.4
diff -u -p -r1.4 sio_sun.c
--- lib/libsndio/sio_sun.c  15 Nov 2011 08:05:22 -  1.4
+++ lib/libsndio/sio_sun.c  7 Jan 2012 14:11:33 -
@@ -48,7 +48,7 @@ struct sio_sun_hdl {
int fd;
int filling;
unsigned ibpf, obpf;/* bytes per frame */
-   unsigned ibytes, obytes;/* bytes the hw transfered */
+   unsigned ibytes, obytes;/* bytes the hw transferred */
unsigned ierr, oerr;/* frames the hw dropped */
int offset; /* frames play is ahead of record */
int idelta, odelta; /* position reported to client */
Index: sys/arch/macppc/dev/tpms.c
===
RCS file: /home/vcs/cvs/openbsd/src/sys/arch/macppc/dev/tpms.c,v
retrieving revision 1.15
diff -u -p -r1.15 tpms.c
--- sys/arch/macppc/dev/tpms.c  9 Apr 2010 17:01:30 -   1.15
+++ sys/arch/macppc/dev/tpms.c  7 Jan 2012 14:11:45 -
@@ -128,7 +128,7 @@
  * Magic numbers.
  */
 
-/* The amount of data transfered by the USB device. */
+/* The amount of data transferred by the USB device. */
 #define TPMS_DATA_LEN 81
 
 /* The maximum number of sensors. */
Index: sys/arch/vax/dec/sii.c
===
RCS file: /home/vcs/cvs/openbsd/src/sys/arch/vax/dec/sii.c,v
retrieving revision 1.13
diff -u -p -r1.13 sii.c
--- sys/arch/vax/dec/sii.c  17 Jul 2011 22:46:47 -  1.13
+++ sys/arch/vax/dec/sii.c  7 Jan 2012 14:11:51 -
@@ -645,7 +645,7 @@ again:
printf("%s: Parity error\n", sc->sc_dev.dv_xname);
goto abort;
}
-   /* dmalen = amount left to transfer, i = amount transfered */
+   /* dmalen = amount left to transfer, i = amount transferred */
i = state->dmalen;
state->dmalen = 0;
state->dmaCurPhase = -1;
@@ -899,7 +899,7 @@ again:
 #endif
}
 
-   /* read amount transfered if DMA didn't finish */
+   /* read amount transferred if DMA didn't finish */
if (state->dmalen > 0) {
i = state->dmalen - regs->dmlotc;
state->dmalen = 0;
Index: sys/dev/ata/wdvar.h
===
RCS file: /home/vcs/cvs/openbsd/src/sys/dev/ata/wdvar.h,v
retrieving revision 1.18
diff -u -p -r1.18 wdvar.h
--- sys/dev/ata/wdvar.h 22 Sep 2011 22:12:45 -  1.18
+++ sys/dev/ata/wdvar.h 7 Jan 2012 14:11:57 -
@@ -44,8 +44,8 @@ struct ata_bio {
 struct disklabel *lp; /* pointer to drive's label info */
 daddr64_t blkno; /* block addr */
 daddr64_t blkdone; /* number of blks transferred */
-daddr64_t nblks; /* number of block currently transfering */
-int nbytes; /* number of bytes currently transfering */
+daddr64_t nblks; /* number of block currently transferring */
+int nbytes; /* number of bytes currently transferring */
 longbcount; /* total number of bytes */
 char   *databuf; /* data buffer address */
 volatile int error;
Index: sys/dev/ic/aic79xx.c
===
RCS file: /home/vcs/cvs/openbsd/src/sys/dev/ic/aic79xx.c,v
retrieving revision 1.48
diff -u -p -r1.48 aic79xx.c
--- sys/dev/ic/aic79xx.c19 Apr 2011 21:59:51 -  1.48
+++ sys/dev/ic/aic79xx.c7 Jan 2012 14:11:57 -
@@ -1225,7 +1225,7 @@ ahd_handle_seqint(struct ahd_softc *ahd,
 * that requires host assistance for completion.
 * While handling the message phase(s), we will be
 * notified by the sequencer after each byte is
-* transfered so we can track bus phase changes.
+* transferred so we can track bus phase changes.
 *
 * If this is the first time we've seen a HOST_MSG_LOOP
 * interrupt, initialize the state of the host message
Index: sys/dev/ic/aic79xx.h
===
RCS file: /home/vcs/cvs/openbsd/src/sys/dev/ic/aic79xx.h,v
retrieving revision 1.21
diff -u -p -r1.21 aic79xx.h
--- sys/dev/ic/aic79xx.h21 Dec 2006 02:28:47 -  1.21
+++ sys/dev/ic/aic79xx.h7 Jan 2012 14:11:57 -
@@ -519,7 +519,7 @@ struct hardware_scb {
  * o A residual has occurred if SG_FULL_RESID is set in sgptr,
  *   or residual_sgptr does not have SG_LIST_NULL set.
  *
- * o We are transfering th