Picked up by the new `mLib' attribute machinery.
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));
}
dstr_reset(&d);
if ((ofp = fopen(of, "wb")) == 0) {
if (f & f_progress) fprogress_done(&ff);
die(EXIT_FAILURE, "couldn't open file `%s' for output: %s",
- ofp, strerror(errno));
+ of, strerror(errno));
}
rfp = ofp;
} else if ((rfp = tmpfile()) == 0) {
{ chunk_write(e, s->sig.buf, s->sig.len); }
static void diechoke(const char *m, void *p)
- { die(EXIT_FAILURE, "%s%s%s", p, p ? ": " : "", m); }
+ { die(EXIT_FAILURE, "%s%s%s", (const char *)p, p ? ": " : "", m); }
static void sig_readheader(enc *e, sigmsg *s,
void (*choke)(const char *, void *), void *p)
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));
}
/* --- Start the work --- */
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);
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);
if (!k)
die(EXIT_FAILURE, "unexpected failure looking up subkey `%s'", tag);
if ((k->e & KF_ENCMASK) != KENC_MP)
- die(EXIT_FAILURE, "subkey `%s' has an incompatible type");
+ die(EXIT_FAILURE, "subkey `%s' has an incompatible type", tag);
return (k->u.m);
}