]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/zstd/zlibWrapper/examples/fitblk.c
import 15.2.0 Octopus source
[ceph.git] / ceph / src / zstd / zlibWrapper / examples / fitblk.c
index ee413c3ae9165b7e32d3abb947e5e2f0f5582614..6418ca38763c3a2c94c6e689210a818fec19ad8a 100644 (file)
@@ -21,7 +21,7 @@
    data in order to determine how much of that input will compress to
    nearly the requested output block size.  The first pass generates
    enough deflate blocks to produce output to fill the requested
-   output size plus a specfied excess amount (see the EXCESS define
+   output size plus a specified excess amount (see the EXCESS define
    below).  The last deflate block may go quite a bit past that, but
    is discarded.  The second pass decompresses and recompresses just
    the compressed data that fit in the requested plus excess sized
@@ -217,7 +217,7 @@ int main(int argc, char **argv)
     if (ret == Z_MEM_ERROR)
         quit("out of memory");
 
-    /* set up for next reocmpression */
+    /* set up for next recompression */
     ret = inflateReset(&inf);
     assert(ret != Z_STREAM_ERROR);
     ret = deflateReset(&def);