[libvirt] [PATCH] fix mingw build

Pavel Hrdina phrdina at redhat.com
Mon Aug 25 07:51:15 UTC 2014


The commit "f5b4c141" introduced new "force" parameter
for "virFDStreamOpenFileInternal" but forget to update
one call of that function.

Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---

Pushed as build breaker.

 src/fdstream.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/fdstream.c b/src/fdstream.c
index 4cf152a..9ff7e2a 100644
--- a/src/fdstream.c
+++ b/src/fdstream.c
@@ -769,7 +769,8 @@ int virFDStreamOpenPTY(virStreamPtr st,
 {
     return virFDStreamOpenFileInternal(st, path,
                                        offset, length,
-                                       oflags | O_CREAT, 0);
+                                       oflags | O_CREAT, 0,
+                                       false);
 }
 #endif /* !HAVE_CFMAKERAW */
 
-- 
1.8.5.5




More information about the libvir-list mailing list