diff options
author | rr- <mkurczew@gmail.com> | 2015-06-28 15:14:49 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-06-28 15:22:11 +0200 |
commit | fb1b8f93aa0c1f08b62dfd68fa8830d4d0f06b71 (patch) | |
tree | 468e18af15f4ce5059b85d7a0bc037516a9be9e2 /video/out | |
parent | b2e1c91f4003c2965cd73aa9abae7994db7e4d64 (diff) | |
download | mpv-fb1b8f93aa0c1f08b62dfd68fa8830d4d0f06b71.tar.bz2 mpv-fb1b8f93aa0c1f08b62dfd68fa8830d4d0f06b71.tar.xz |
vo_drm: fix missing newlines in error messages
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/drm_common.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/video/out/drm_common.c b/video/out/drm_common.c index c61ad69eba..1ea0e45ae8 100644 --- a/video/out/drm_common.c +++ b/video/out/drm_common.c @@ -52,13 +52,13 @@ int vt_switcher_init(struct vt_switcher *s, struct mp_log *log) vt_switcher_pipe[1] = -1; if (mp_make_cloexec_pipe(vt_switcher_pipe)) { - MP_ERR(s, "Creating pipe failed: %s", mp_strerror(errno)); + MP_ERR(s, "Creating pipe failed: %s\n", mp_strerror(errno)); return -1; } s->tty_fd = open("/dev/tty", O_RDWR | O_CLOEXEC); if (s->tty_fd < 0) { - MP_ERR(s, "Can't open TTY for VT control: %s", mp_strerror(errno)); + MP_ERR(s, "Can't open TTY for VT control: %s\n", mp_strerror(errno)); return -1; } @@ -71,7 +71,7 @@ int vt_switcher_init(struct vt_switcher *s, struct mp_log *log) struct vt_mode vt_mode; if (ioctl(s->tty_fd, VT_GETMODE, &vt_mode) < 0) { - MP_ERR(s, "VT_GETMODE failed: %s", mp_strerror(errno)); + MP_ERR(s, "VT_GETMODE failed: %s\n", mp_strerror(errno)); return -1; } @@ -79,7 +79,7 @@ int vt_switcher_init(struct vt_switcher *s, struct mp_log *log) vt_mode.relsig = SIGUSR1; vt_mode.acqsig = SIGUSR2; if (ioctl(s->tty_fd, VT_SETMODE, &vt_mode) < 0) { - MP_ERR(s, "VT_SETMODE failed: %s", mp_strerror(errno)); + MP_ERR(s, "VT_SETMODE failed: %s\n", mp_strerror(errno)); return -1; } |