Commit 29ac1543 authored by Konstantin Khlebnikov's avatar Konstantin Khlebnikov

use errx for fcntl error messages

parent c3c4f3b7
......@@ -389,8 +389,8 @@ int main (int argc, char **argv)
if (fcntl(fd, F_SETFL, flags)) {
warn("fcntl failed");
if (direct)
fprintf(stderr, "Please retry without -D\n");
exit(1);
errx(1, "please retry without -D");
errx(1, "it is so sad");
}
for (woffset = 0 ; woffset + size <= wsize ; woffset += size) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment