sched_getscheduler01.c: fix error of wrong return code
PATCH 1/1 sched_getscheduler01.c: fix error of wrong return code
Hi Garrett,
"return -1" should be replaced with "tst_exit()".
Signed-off-by Peng Haitao <[email protected]>
--- .../sched_getscheduler/sched_getscheduler01.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
testcases/kernel/syscalls/sched_getscheduler/sched_getscheduler01.c +2 -2
@@ -125,7 +125,7 @@ int main(int ac, char **av) }cleanup (); -return -1 ; +tst_exit (); }/*
@@ -155,4 +155,4 @@ void cleanup()*/ TEST_CLEANUP ; -} +}
Signature · 18 lines
1.7.0.1 -- Best Regards, Peng Haitao ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 3 lines · Peng Haitao
Hi Garrett,
"return -1" should be replaced with "
tst_exit()".
Committed -- thanks!
-Garrett
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list