]> git.pld-linux.org Git - packages/trace-cmd.git/blob - trace-cmd-build.patch
7d7717717c2536111efb083769ba16ad3a6b7c1c
[packages/trace-cmd.git] / trace-cmd-build.patch
1 --- trace-cmd-2.4/trace-record.c~       2014-06-16 20:32:43.000000000 +0200
2 +++ trace-cmd-2.4/trace-record.c        2014-09-05 15:16:46.697132020 +0200
3 @@ -1995,7 +1995,7 @@
4  {
5         int fd;
6  
7 -       fd = open(file, O_WRONLY | O_CREAT | O_TRUNC);
8 +       fd = open(file, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
9         if (fd < 0)
10                 die("could not create file %s\n", file);
11         close(fd);
This page took 0.27879 seconds and 2 git commands to generate.