+ /* compress */
+ outbuf = compresslzma(content, sbuf.st_size, &outlen);
+ if (!outbuf) {
+ fprintf(stderr, "compresslzma failed\n");
+ return 0;
+ }
+ fprintf(stderr, "compressed to %zu\n", outlen);
+ /* don't need the original file now */
+ munmap(content, sbuf.st_size);
+ close(fd);
+