[libvirt] [PATCH v2 14/19] tests: Rename virtTestCaptureProgramExecChild to virTestCaptureProgramExecChild.

Tomáš Ryšavý tom.rysavy.0 at gmail.com
Thu May 26 15:02:03 UTC 2016


This function doesn't follow our convention of naming functions.
---
 tests/testutils.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/testutils.c b/tests/testutils.c
index b97e97a..34f2410 100644
--- a/tests/testutils.c
+++ b/tests/testutils.c
@@ -351,8 +351,8 @@ virTestLoadFile(const char *file, char **buf)
 
 #ifndef WIN32
 static
-void virtTestCaptureProgramExecChild(const char *const argv[],
-                                     int pipefd)
+void virTestCaptureProgramExecChild(const char *const argv[],
+                                    int pipefd)
 {
     size_t i;
     int open_max;
@@ -408,7 +408,7 @@ virtTestCaptureProgramOutput(const char *const argv[], char **buf, int maxlen)
     switch (pid) {
     case 0:
         VIR_FORCE_CLOSE(pipefd[0]);
-        virtTestCaptureProgramExecChild(argv, pipefd[1]);
+        virTestCaptureProgramExecChild(argv, pipefd[1]);
 
         VIR_FORCE_CLOSE(pipefd[1]);
         _exit(EXIT_FAILURE);
-- 
2.5.5




More information about the libvir-list mailing list