mirror of
https://abf.rosa.ru/djam/xawtv.git
synced 2025-02-24 02:32:52 +00:00
11 lines
452 B
Diff
11 lines
452 B
Diff
--- libng/plugins/snd-oss.c.orig 2011-04-02 09:59:50.000000000 +0200
|
|
+++ libng/plugins/snd-oss.c 2011-04-02 10:00:09.000000000 +0200
|
|
@@ -342,7 +342,7 @@
|
|
memset(h,0,sizeof(*h));
|
|
|
|
if (-1 == (h->fd = open(device ? device : ng_dev.dsp,
|
|
- record ? O_RDONLY : O_WRONLY | O_NONBLOCK))) {
|
|
+ record ? O_RDONLY : O_WRONLY | O_NONBLOCK, 0644))) {
|
|
fprintf(stderr,"oss: open %s: %s\n",
|
|
device ? device : ng_dev.dsp,
|
|
strerror(errno));
|