From 23736959669760b02644d3042ff67950d1d61a9e Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Thu, 24 Feb 2022 00:39:30 +0100 Subject: 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. --- sfeed_curses.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3