1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/multimedia/mythtv/files/patch-libs-libmythtv-cardutil.cpp

12 lines
354 B
C++

--- libs/libmythtv/cardutil.cpp~ Tue Jul 18 22:05:04 2006
+++ libs/libmythtv/cardutil.cpp Fri Feb 23 11:40:25 2007
@@ -588,7 +588,7 @@
{
bool ok;
QStringList ret;
- int videofd = open(device.ascii(), O_RDWR);
+ int videofd = open(device.ascii(), O_RDONLY);
if (videofd < 0)
{
ret += QObject::tr("Could not open '%1' "