diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/pacat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/pacat.c b/src/utils/pacat.c index 1e22656d..cce97442 100644 --- a/src/utils/pacat.c +++ b/src/utils/pacat.c @@ -540,7 +540,7 @@ int main(int argc, char *argv[]) { if (optind+1 == argc) { int fd; - if ((fd = open(argv[optind], mode == PLAYBACK ? O_RDONLY : O_WRONLY|O_TRUNC|O_CREAT)) < 0) { + if ((fd = open(argv[optind], mode == PLAYBACK ? O_RDONLY : O_WRONLY|O_TRUNC|O_CREAT, 0666)) < 0) { fprintf(stderr, "open(): %s\n", strerror(errno)); goto quit; } |