weston-launch: fix newline in error message

Add newline character at the end of the error message to make sure we
get a new line after this error has been printed.

Fixes: a1450a8a71 ("make error() portable")
Signed-off-by: Stefan Agner <stefan@agner.ch>
This commit is contained in:
Stefan Agner 2020-01-23 00:53:31 +01:00 committed by Pekka Paalanen
parent 77e3b056d7
commit cb24a7d1eb
1 changed files with 1 additions and 1 deletions

View File

@ -607,7 +607,7 @@ setup_tty(struct weston_launch *wl, const char *tty)
if (ioctl(wl->tty, KDGKBMODE, &wl->kb_mode)) {
fprintf(stderr,
"weston: failed to get current keyboard mode: %s",
"weston: failed to get current keyboard mode: %s\n",
strerror(errno));
return -1;
}