Blame fix-compilation-open-argument.patch

Susant Sahani c0885c
--- iperf-3.0.3/src/iperf_api.c	2014-03-26 23:36:38.000000000 +0530
Susant Sahani c0885c
+++ iperf-3.0.3.patch/src/iperf_api.c	2014-06-09 23:31:46.183346802 +0530
Susant Sahani c0885c
@@ -2215,7 +2215,7 @@ iperf_new_stream(struct iperf_test *test
Susant Sahani c0885c
     sp->rcv = test->protocol->recv;
Susant Sahani c0885c
 
Susant Sahani c0885c
     if (test->diskfile_name != (char*) 0) {
Susant Sahani c0885c
-	sp->diskfile_fd = open(test->diskfile_name, test->sender ? O_RDONLY : (O_WRONLY|O_CREAT|O_TRUNC));
Susant Sahani c0885c
+	sp->diskfile_fd = open(test->diskfile_name, test->sender ? O_RDONLY : (O_WRONLY|O_CREAT|O_TRUNC), S_IRUSR|S_IWUSR);
Susant Sahani c0885c
 	if (sp->diskfile_fd == -1) {
Susant Sahani c0885c
 	    i_errno = IEFILE;
Susant Sahani c0885c
             munmap(sp->buffer, sp->test->settings->blksize);