mirror of https://github.com/0intro/wmii
Remove spurious %r from fatal() call in wmiir.
This commit is contained in:
parent
d9cbac523a
commit
fc5e60f952
|
@ -40,7 +40,7 @@ write_data(IxpCFid *fid, char *name) {
|
||||||
if(len <= 0)
|
if(len <= 0)
|
||||||
break;
|
break;
|
||||||
if(ixp_write(fid, buf, len) != len)
|
if(ixp_write(fid, buf, len) != len)
|
||||||
fatal("cannot write file '%s': %r\n", name);
|
fatal("cannot write file %q\n", name);
|
||||||
}
|
}
|
||||||
free(buf);
|
free(buf);
|
||||||
}
|
}
|
||||||
|
@ -375,6 +375,7 @@ main(int argc, char *argv[]) {
|
||||||
exectab *tab;
|
exectab *tab;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
quotefmtinstall();
|
||||||
fmtinstall('r', errfmt);
|
fmtinstall('r', errfmt);
|
||||||
|
|
||||||
address = getenv("WMII_ADDRESS");
|
address = getenv("WMII_ADDRESS");
|
||||||
|
|
Loading…
Reference in New Issue