X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/aa02ed367404c659ab7205ef9662ef92032d7786..9b1663a5574182a66c6de8ad2fce7b3e4cbf277b:/progs/cc-enc.c diff --git a/progs/cc-enc.c b/progs/cc-enc.c index 61d9805..f4b6119 100644 --- a/progs/cc-enc.c +++ b/progs/cc-enc.c @@ -410,7 +410,7 @@ int cmd_encode(int argc, char *argv[]) ofp = stdout; else if ((ofp = fopen(of, eo->wmode)) == 0) { die(EXIT_FAILURE, "couldn't open file `%s' for output: %s", - ofp, strerror(errno)); + of, strerror(errno)); } e = initenc(eo, ofp, bd); @@ -492,7 +492,7 @@ int cmd_decode(int argc, char *argv[]) ofp = stdout; else if ((ofp = fopen(of, "wb")) == 0) { die(EXIT_FAILURE, "couldn't open file `%s' for output: %s", - ofp, strerror(errno)); + of, strerror(errno)); } e = initdec(eo, fp, checkbdry, (/*unconst*/ void *)bd);