]> git.pld-linux.org Git - packages/fwupdate.git/blob - fwupdate-open.patch
a79b373a3f7135da74063e34de698085012a8e94
[packages/fwupdate.git] / fwupdate-open.patch
1 --- fwupdate-10def9bb08c85761ed7fe22bc458cbc760b99d42/linux/libfwup.c.orig      2015-03-12 15:02:28.000000000 +0100
2 +++ fwupdate-10def9bb08c85761ed7fe22bc458cbc760b99d42/linux/libfwup.c   2015-04-19 15:22:14.149102505 +0200
3 @@ -646,7 +646,7 @@
4                 if (rc < 0)
5                         goto new;
6  
7 -               rc = open(filename, O_CREAT|O_TRUNC|O_CLOEXEC|O_RDWR);
8 +               rc = open(filename, O_CREAT|O_TRUNC|O_CLOEXEC|O_RDWR, 0666);
9                 if (rc < 0)
10                         goto new;
11                 fd = rc;
This page took 0.161739 seconds and 2 git commands to generate.