Fix some error messages

There's many more to go.
This commit is contained in:
sin
2014-11-17 16:22:01 +00:00
parent cb7cbde722
commit af8e38f5fa
5 changed files with 9 additions and 14 deletions

View File

@@ -66,8 +66,7 @@ in(Fdescr *f)
wint_t c = fgetwc(f->fp);
if (c == WEOF && ferror(f->fp))
eprintf("'%s' read error:", f->name);
eprintf("%s: read error:", f->name);
return c;
}
@@ -76,7 +75,7 @@ out(wint_t c)
{
putwchar(c);
if (ferror(stdout))
eprintf("write error:");
eprintf("stdout: write error:");
}
static void