core: Fix comments.
authorPeter Meerwald <p.meerwald@bct-electronic.com>
Fri, 6 Apr 2012 13:06:27 +0000 (15:06 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Tue, 17 Apr 2012 15:15:21 +0000 (18:15 +0300)
src/pulsecore/memblock.c
src/pulsecore/memchunk.h

index f228817..e30ded8 100644 (file)
@@ -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;
 
index f9e56be..217f92d 100644 (file)
@@ -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. */