changeset 25039:b16e023e5751

Do not print Ok message when setting speed limit failed
author reimar
date Sat, 17 Nov 2007 18:23:46 +0000
parents b2ae4a355a54
children ea694492cb2e
files stream/stream_dvd.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_dvd.c	Sat Nov 17 18:22:42 2007 +0000
+++ b/stream/stream_dvd.c	Sat Nov 17 18:23:46 2007 +0000
@@ -116,7 +116,7 @@
 
   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
 }