diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-02-24 00:39:30 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-02-24 00:39:30 +0100 |
commit | 23736959669760b02644d3042ff67950d1d61a9e (patch) | |
tree | fa54b2794c0e9770020c76cde78adcf02fcd59c6 | |
parent | 3c2de33c958405c282a0d27d4bdddda434dbfa99 (diff) |
sfeed_curses: die(): use stdio buffered function/macro
vdprintf() was changed back to vfprintf() in commit 06bb4583, but the write was
not changed.
Change it to be more consistent and use the stdio buffered functions/macro.
-rw-r--r-- | sfeed_curses.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed_curses.c b/sfeed_curses.c index 4072fdd..4be111f 100644 --- a/sfeed_curses.c +++ b/sfeed_curses.c @@ -229,8 +229,8 @@ die(const char *fmt, ...) if (saved_errno) fprintf(stderr, ": %s", strerror(saved_errno)); + putc('\n', stderr); fflush(stderr); - write(2, "\n", 1); _exit(1); } |