summaryrefslogtreecommitdiff
path: root/firmware/drivers/tuner/lv24020lp.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/tuner/lv24020lp.c')
-rw-r--r--firmware/drivers/tuner/lv24020lp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/tuner/lv24020lp.c b/firmware/drivers/tuner/lv24020lp.c
index d70eef8eea..5f23338eee 100644
--- a/firmware/drivers/tuner/lv24020lp.c
+++ b/firmware/drivers/tuner/lv24020lp.c
@@ -46,7 +46,7 @@ static struct mutex tuner_mtx;
46static int fd_log = -1; 46static int fd_log = -1;
47 47
48#define TUNER_LOG_OPEN() if (fd_log < 0) \ 48#define TUNER_LOG_OPEN() if (fd_log < 0) \
49 fd_log = creat("/tuner_dump.txt") 49 fd_log = creat("/tuner_dump.txt", 0666)
50/* syncing required because close() is never called */ 50/* syncing required because close() is never called */
51#define TUNER_LOG_SYNC() fsync(fd_log) 51#define TUNER_LOG_SYNC() fsync(fd_log)
52#define TUNER_LOG(s...) fdprintf(fd_log, s) 52#define TUNER_LOG(s...) fdprintf(fd_log, s)