[libvirt] [PATCH 14/19] tests: Rename virtTestCaptureProgramExecChild to virTestCaptureProgramExecChild.
Tomáš Ryšavý
tom.rysavy.0 at gmail.com
Wed May 25 13:08:39 UTC 2016
This function doesn't follow our convention of naming functions.
---
tests/testutils.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/testutils.c b/tests/testutils.c
index 2f27bde..f56ab09 100644
--- a/tests/testutils.c
+++ b/tests/testutils.c
@@ -351,7 +351,7 @@ virTestLoadFile(const char *file, char **buf)
#ifndef WIN32
static
-void virtTestCaptureProgramExecChild(const char *const argv[],
+void virTestCaptureProgramExecChild(const char *const argv[],
int pipefd)
{
size_t i;
@@ -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