aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2024-01-04 04:29:52 +0100
committerMarcel Holtmann <marcel@holtmann.org>2024-01-04 04:30:28 +0100
commit706df7b021a565a9e0498683c129da5e79484b7b (patch)
treebd23e3c2875b724383947c4c6954d2238a6a6cca
parent2a1f06ae0008b9cfd0f7cf56b438f19585ad540b (diff)
ringbuf: Fix spelling of opaque and significant
-rw-r--r--ell/ringbuf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ell/ringbuf.c b/ell/ringbuf.c
index f9a26379..8f764692 100644
--- a/ell/ringbuf.c
+++ b/ell/ringbuf.c
@@ -29,7 +29,7 @@
/**
* l_ringbuf:
*
- * Opague object representing the Ring Buffer.
+ * Opaque object representing the Ring Buffer.
*/
struct l_ringbuf {
void *buffer;
@@ -42,7 +42,7 @@ struct l_ringbuf {
#define RINGBUF_RESET 0
-/* Find last (most siginificant) set bit */
+/* Find last (most significant) set bit */
static inline unsigned int fls(unsigned int x)
{
return x ? sizeof(x) * 8 - __builtin_clz(x) : 0;