]> wimlib.net Git - wimlib/blobdiff - examples/decompressfile.c
security_descriptor.h: updates
[wimlib] / examples / decompressfile.c
index 11a20f19c5c6263f71bd51615d3bf72c58fffb86..0d8bee6b4a85696a405cdbec645b1f1c6ef5a806 100644 (file)
@@ -24,6 +24,9 @@
  *
  * The compressed file format created here is simply a series of compressed
  * chunks.  A real format would need to have checksums and other metadata.
+ *
+ * The author dedicates this file to the public domain.
+ * You can do whatever you want with this file.
  */
 
 #define _GNU_SOURCE
@@ -133,7 +136,7 @@ int main(int argc, char **argv)
 
        /* Create a decompressor for the compression type and chunk size with
         * the default parameters.  */
-       ret = wimlib_create_decompressor(ctype, chunk_size, NULL, &decompressor);
+       ret = wimlib_create_decompressor(ctype, chunk_size, &decompressor);
        if (ret != 0)
                error(1, 0, "Failed to create decompressor: %s",
                      wimlib_get_error_string(ret));