diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2008-12-17 07:31:39 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2008-12-17 07:31:39 +0000 |
commit | b283f4c845dfa5a2ee0e6858e60cbbd521aabd20 (patch) | |
tree | 0f44527fbb020047df24845c68cc50ddb22a5b45 /lib/libsndio/sndio.c | |
parent | d2fae90c691999fdccc9501bfd8e305dceaa738d (diff) |
fix spell errors, from Thomas Pfaff <tpfaff(at)tp76.info>, thanks!
Diffstat (limited to 'lib/libsndio/sndio.c')
-rw-r--r-- | lib/libsndio/sndio.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libsndio/sndio.c b/lib/libsndio/sndio.c index a849f4bf7d0..56392d64004 100644 --- a/lib/libsndio/sndio.c +++ b/lib/libsndio/sndio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sndio.c,v 1.8 2008/12/17 07:19:27 ratchov Exp $ */ +/* $OpenBSD: sndio.c,v 1.9 2008/12/17 07:31:38 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -68,7 +68,7 @@ sio_enctostr(struct sio_par *par, char *ostr) /* * Parse an encoding string, examples: s8, u8, s16, s16le, s24be ... - * Retrun the number of bytes consumed + * Return the number of bytes consumed */ int sio_strtoenc(struct sio_par *par, char *istr) @@ -109,7 +109,7 @@ sio_strtoenc(struct sio_par *par, char *istr) msb = 1; /* - * get (optionnal) endianness + * get (optional) endianness */ if (p[0] == 'l' && p[1] == 'e') { le = 1; @@ -123,7 +123,7 @@ sio_strtoenc(struct sio_par *par, char *istr) return 0; /* - * get (optionnal) number of bytes + * get (optional) number of bytes */ if (*p >= '1' && *p <= '4') { bps = *p - '0'; @@ -132,7 +132,7 @@ sio_strtoenc(struct sio_par *par, char *istr) p++; /* - * get (optionnal) alignement + * get (optional) alignment */ if (p[0] == 'm' && p[1] == 's' && p[2] == 'b') { msb = 1; @@ -348,7 +348,7 @@ sio_read(struct sio_hdl *hdl, void *buf, size_t len) return 0; } if (!hdl->started || !(hdl->mode & SIO_REC)) { - fprintf(stderr, "sio_read: recording not stared\n"); + fprintf(stderr, "sio_read: recording not started\n"); hdl->eof = 1; return 0; } @@ -432,7 +432,7 @@ int sio_nfds(struct sio_hdl *hdl) { /* - * in the futur we might use larger values + * In the future we might use larger values */ return 1; } @@ -541,7 +541,7 @@ void sio_onvol(struct sio_hdl *hdl, void (*cb)(void *, unsigned), void *addr) { if (hdl->started) { - fprintf(stderr, "sio_onmove: already started\n"); + fprintf(stderr, "sio_onvol: already started\n"); hdl->eof = 1; return; } |