projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
progs: Fix a number of format-related errors.
[u/mdw/catacomb]
/
progs
/
cc-enc.c
diff --git
a/progs/cc-enc.c
b/progs/cc-enc.c
index
61d9805
..
f4b6119
100644
(file)
--- 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 = stdout;
else if ((ofp = fopen(of, eo->wmode)) == 0) {
die(EXIT_FAILURE, "couldn't open file `%s' for output: %s",
- of
p
, strerror(errno));
+ of, strerror(errno));
}
e = initenc(eo, ofp, bd);
}
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 = stdout;
else if ((ofp = fopen(of, "wb")) == 0) {
die(EXIT_FAILURE, "couldn't open file `%s' for output: %s",
- of
p
, strerror(errno));
+ of, strerror(errno));
}
e = initdec(eo, fp, checkbdry, (/*unconst*/ void *)bd);
}
e = initdec(eo, fp, checkbdry, (/*unconst*/ void *)bd);