[LTP] [PATCH 08/13]Fix the wrong variable name of wtstatus

tangchen
2011-01-06T11:04:59Z

Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
---
testcases/kernel/syscalls/pipe/pipe09.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/testcases/kernel/syscalls/pipe/pipe09.c
b/testcases/kernel/syscalls/pipe/pipe09.c
index 7990fb6..ac9796e 100644
--- a/testcases/kernel/syscalls/pipe/pipe09.c
+++ b/testcases/kernel/syscalls/pipe/pipe09.c
@@ -131,7 +131,7 @@ int main(int ac, char **av)

if (waitpid(fork_1, &wtstatus, 0) == -1)
tst_brkm(TBROK, cleanup, "waitpid failed");
- if (WIFEXITED(wstatus) && WEXITSTATUS(wtstatus) != 0) {
+ if (WIFEXITED(wtstatus) && WEXITSTATUS(wtstatus) != 0) {
tst_brkm(TBROK, cleanup, "child exited abnormally");
}

@@ -226,4 +226,5 @@ void cleanup()
* print errno log if that option was specified.
*/
TEST_CLEANUP;
-}
\ No newline at end of file
+}
+
--
1.7.0.4

--
Best Regards,
Tang chen