Hi Garrett,

exit() should be modified to tst_exit() in function myexit().

Signed-off-by: Peng Haitao <[email protected]>
---
 testcases/misc/math/float/main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/testcases/misc/math/float/main.c b/testcases/misc/math/float/main.c
index 18757e7..8998c33 100644
--- a/testcases/misc/math/float/main.c
+++ b/testcases/misc/math/float/main.c
@@ -42,7 +42,7 @@ myexit (int x)
                tst_resm (TFAIL, "Test failed");
        else
                tst_resm (TPASS, "Test passed");
-       exit(0);
+       tst_exit();
 }
 
 TH_DATA *pcom;
@@ -428,4 +428,4 @@ static void sys_error(const char *msg, int line)
 
        sprintf(syserr_msg, "%s: %s", msg, strerror(errno));
        error(syserr_msg, line);
-}
\ No newline at end of file
+}
-- 
1.7.0.4

-- 
Best Regards,
Peng Haitao


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to