Commit cb24a7d1 authored by Stefan Agner's avatar Stefan Agner Committed by Pekka Paalanen

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: a1450a8a ("make error() portable")
Signed-off-by: default avatarStefan Agner <stefan@agner.ch>
parent 77e3b056
...@@ -607,7 +607,7 @@ setup_tty(struct weston_launch *wl, const char *tty) ...@@ -607,7 +607,7 @@ setup_tty(struct weston_launch *wl, const char *tty)
if (ioctl(wl->tty, KDGKBMODE, &wl->kb_mode)) { if (ioctl(wl->tty, KDGKBMODE, &wl->kb_mode)) {
fprintf(stderr, fprintf(stderr,
"weston: failed to get current keyboard mode: %s", "weston: failed to get current keyboard mode: %s\n",
strerror(errno)); strerror(errno));
return -1; return -1;
} }
......
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