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:
parent
77e3b056d7
commit
cb24a7d1eb
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue