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:
committed by
Pekka Paalanen
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)) {
|
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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user