From 150816c687144cc5627c52ae4faf61491c5c4d61 Mon Sep 17 00:00:00 2001 From: David Maciejak Date: Wed, 8 Feb 2023 07:51:34 +0800 Subject: [PATCH] Fix missing linefeed on the error message Just to display the error message properly in case there is no display. --- util/wmiv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/wmiv.c b/util/wmiv.c index 492af88e..947f03fe 100755 --- a/util/wmiv.c +++ b/util/wmiv.c @@ -750,7 +750,7 @@ int main(int argc, char **argv) dpy = XOpenDisplay(NULL); if (!dpy) { - fprintf(stderr, "Error: can't open display"); + fprintf(stderr, "Error: can't open display\n"); linked_list_free(&list); return EXIT_FAILURE; }