summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Meerwald <p.meerwald@bct-electronic.com>2012-04-06 15:06:27 +0200
committerTanu Kaskinen <tanuk@iki.fi>2012-04-17 18:15:21 +0300
commit92fbb294b774e8c9bbb95845ca1c2071b060ea35 (patch)
tree09945e0f0ef89b5fb4c0bed9a8cd199bf73b47e7
parent202b7e3abbaaa31a6622512afb04dead1779a969 (diff)
core: Fix comments.
-rw-r--r--src/pulsecore/memblock.c4
-rw-r--r--src/pulsecore/memchunk.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/pulsecore/memblock.c b/src/pulsecore/memblock.c
index f2288175..e30ded8a 100644
--- a/src/pulsecore/memblock.c
+++ b/src/pulsecore/memblock.c
@@ -518,8 +518,8 @@ static void memblock_free(pa_memblock *b) {
case PA_MEMBLOCK_APPENDED:
- /* We could attached it unused_memblocks, but that would
- * probably waste some considerable memory */
+ /* We could attach it to unused_memblocks, but that would
+ * probably waste some considerable amount of memory */
pa_xfree(b);
break;
diff --git a/src/pulsecore/memchunk.h b/src/pulsecore/memchunk.h
index f9e56be1..217f92d2 100644
--- a/src/pulsecore/memchunk.h
+++ b/src/pulsecore/memchunk.h
@@ -34,7 +34,7 @@ typedef struct pa_memchunk {
} pa_memchunk;
/* Make a memchunk writable, i.e. make sure that the caller may have
- * exclusive access to the memblock and it is not read_only. If needed
+ * exclusive access to the memblock and it is not read-only. If needed
* the memblock in the structure is replaced by a copy. If min is not
* 0 it is made sure that the returned memblock is at least of the
* specified size, i.e. is enlarged if necessary. */