mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
Fix compilation of the linuxdvb_fake.c
Origin commit data
------------------
Branch: master
Commit: f84e938908
Author: samsamsam <samsamsam@o2.pl>
Date: 2019-01-22 (Tue, 22 Jan 2019)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -104,12 +104,12 @@ int LinuxDvbOpen(Context_t *context __attribute__((unused)), char *type)
|
|||||||
|
|
||||||
if (video && videofd < 0)
|
if (video && videofd < 0)
|
||||||
{
|
{
|
||||||
videofd = open(VIDEODEV, O_CREAT | O_TRUNC | O_WRONLY | S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
|
videofd = open(VIDEODEV, O_CREAT | O_TRUNC | O_WRONLY | S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH, 0666);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (audio && audiofd < 0)
|
if (audio && audiofd < 0)
|
||||||
{
|
{
|
||||||
audiofd = open(AUDIODEV, O_CREAT | O_TRUNC | O_WRONLY | S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
|
audiofd = open(AUDIODEV, O_CREAT | O_TRUNC | O_WRONLY | S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH, 0666);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user