Remove spurious %r from fatal() call in wmiir.

This commit is contained in:
Kris Maglione 2008-06-02 22:31:59 -04:00
parent d9cbac523a
commit fc5e60f952
1 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,7 @@ write_data(IxpCFid *fid, char *name) {
if(len <= 0)
break;
if(ixp_write(fid, buf, len) != len)
fatal("cannot write file '%s': %r\n", name);
fatal("cannot write file %q\n", name);
}
free(buf);
}
@ -375,6 +375,7 @@ main(int argc, char *argv[]) {
exectab *tab;
int ret;
quotefmtinstall();
fmtinstall('r', errfmt);
address = getenv("WMII_ADDRESS");