From: Tomáš Ryšavý Date: Thu, 26 May 2016 15:02:03 +0000 (+0200) Subject: tests: Rename virtTestCaptureProgramExecChild to virTestCaptureProgramExecChild. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=b468e8ba0b2d00d7c76fff757c053df6c2acf5d6;p=libvirt.git tests: Rename virtTestCaptureProgramExecChild to virTestCaptureProgramExecChild. This function doesn't follow our convention of naming functions. --- diff --git a/tests/testutils.c b/tests/testutils.c index 315ad8da85..afdd2929a4 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);