diff options
Diffstat (limited to '0001-add-missing-fcntl-argument.patch')
-rw-r--r-- | 0001-add-missing-fcntl-argument.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/0001-add-missing-fcntl-argument.patch b/0001-add-missing-fcntl-argument.patch new file mode 100644 index 000000000000..f761de90c07f --- /dev/null +++ b/0001-add-missing-fcntl-argument.patch @@ -0,0 +1,11 @@ +--- splice.c 2016-04-19 20:37:29.238055553 -0600 ++++ splice.c.fixed 2016-04-19 20:38:16.523286227 -0600 +@@ -67,7 +67,7 @@ + } + read(f2,buff+offset,size); + close(f2); +- f1=open(argv[1],O_CREAT|O_TRUNC|O_WRONLY); ++ f1=open(argv[1],O_CREAT|O_TRUNC|O_WRONLY,0644); + if (f1<0) { + perror("Couldn't open file1 for writing.\n"); + exit(1); |