Signed-off-by: Tang Chen <[email protected]>
---
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
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list