summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stream/stream_dvd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c
index 02bbf91902..cc831b5f96 100644
--- a/stream/stream_dvd.c
+++ b/stream/stream_dvd.c
@@ -116,7 +116,7 @@ static void dvd_set_speed(char *device, unsigned speed)
if (ioctl(fd, SG_IO, &sghdr) < 0) {
mp_msg(MSGT_OPEN, MSGL_INFO, MSGTR_DVDlimitFail);
- }
+ } else
mp_msg(MSGT_OPEN, MSGL_INFO, MSGTR_DVDlimitOk);
#endif
}