diff options
author | 2017-01-03 06:53:20 +0000 | |
---|---|---|
committer | 2017-01-03 06:53:20 +0000 | |
commit | da3adc54f2db247a526bc087a1c40c2953991b41 (patch) | |
tree | adffe5b6a698a25c747ab3a116e8cdb99521240d | |
parent | Use a goto to factor all calls to close() when listen_in() returns (diff) | |
download | wireguard-openbsd-da3adc54f2db247a526bc087a1c40c2953991b41.tar.xz wireguard-openbsd-da3adc54f2db247a526bc087a1c40c2953991b41.zip |
Many typos in comments. From Michael W. Bombardieri. Thanks.
-rw-r--r-- | usr.bin/sndiod/dev.c | 4 | ||||
-rw-r--r-- | usr.bin/sndiod/midi.c | 6 | ||||
-rw-r--r-- | usr.bin/sndiod/utils.c | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/sndiod/dev.c b/usr.bin/sndiod/dev.c index 4f1774d37ef..eae2a8a50ba 100644 --- a/usr.bin/sndiod/dev.c +++ b/usr.bin/sndiod/dev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dev.c,v 1.26 2016/05/25 05:34:23 ratchov Exp $ */ +/* $OpenBSD: dev.c,v 1.27 2017/01/03 06:53:20 ratchov Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov <alex@caoua.org> * @@ -1426,7 +1426,7 @@ slot_new(struct dev *d, char *who, struct slotops *ops, void *arg, int mode) struct slot *s; /* - * create a ``valid'' control name (lowcase, remove [^a-z], trucate) + * create a ``valid'' control name (lowcase, remove [^a-z], truncate) */ for (i = 0, p = who; ; p++) { if (i == SLOT_NAMEMAX - 1 || *p == '\0') { diff --git a/usr.bin/sndiod/midi.c b/usr.bin/sndiod/midi.c index b94ac849514..c45024ed490 100644 --- a/usr.bin/sndiod/midi.c +++ b/usr.bin/sndiod/midi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: midi.c,v 1.15 2016/01/08 16:17:31 ratchov Exp $ */ +/* $OpenBSD: midi.c,v 1.16 2017/01/03 06:53:20 ratchov Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov <alex@caoua.org> * @@ -97,7 +97,7 @@ midi_new(struct midiops *ops, void *arg, int mode) ep->mode = mode; /* - * the output buffer is the client intput + * the output buffer is the client input */ if (ep->mode & MODE_MIDIIN) abuf_init(&ep->obuf, MIDI_BUFSZ); @@ -147,7 +147,7 @@ midi_link(struct midi *ep, struct midi *peer) panic(); } #endif - /* ep has empry buffer, so no need to call midi_tickets() */ + /* ep has empty buffer, so no need to call midi_tickets() */ peer->txmask |= ep->self; } } diff --git a/usr.bin/sndiod/utils.c b/usr.bin/sndiod/utils.c index e51812bb9f0..130bb293e96 100644 --- a/usr.bin/sndiod/utils.c +++ b/usr.bin/sndiod/utils.c @@ -1,4 +1,4 @@ -/* $OpenBSD: utils.c,v 1.3 2016/05/25 05:39:50 ratchov Exp $ */ +/* $OpenBSD: utils.c,v 1.4 2017/01/03 06:53:20 ratchov Exp $ */ /* * Copyright (c) 2003-2012 Alexandre Ratchov <alex@caoua.org> * @@ -96,7 +96,7 @@ log_putx(unsigned long num) } /* - * store a unsigned decimal in the log + * store an unsigned decimal in the log */ void log_putu(unsigned long num) @@ -140,7 +140,7 @@ panic(void) } /* - * allocate a (small) abount of memory, and abort if it fails + * allocate a (small) amount of memory, and abort if it fails */ void * xmalloc(size_t size) |