* [LTP] [PATCH] rt_sigprocmask01: fix error of wrong return code
@ 2011-01-20 8:19 Peng Haitao
2011-01-20 9:06 ` Garrett Cooper
0 siblings, 1 reply; 2+ messages in thread
From: Peng Haitao @ 2011-01-20 8:19 UTC (permalink / raw)
To: Garrett Cooper; +Cc: ltp-list
Hi Garrett,
"return 1" should be replaced with "tst_exit()".
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
---
.../syscalls/rt_sigprocmask/rt_sigprocmask01.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/testcases/kernel/syscalls/rt_sigprocmask/rt_sigprocmask01.c b/testcases/kernel/syscalls/rt_sigprocmask/rt_sigprocmask01.c
index fca2276..c052a3a 100644
--- a/testcases/kernel/syscalls/rt_sigprocmask/rt_sigprocmask01.c
+++ b/testcases/kernel/syscalls/rt_sigprocmask/rt_sigprocmask01.c
@@ -236,6 +236,5 @@ int main(int ac, char **av) {
cleanup();
- return 1;
-
-}
\ No newline at end of file
+ tst_exit();
+}
--
1.7.3.1
--
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [LTP] [PATCH] rt_sigprocmask01: fix error of wrong return code
2011-01-20 8:19 [LTP] [PATCH] rt_sigprocmask01: fix error of wrong return code Peng Haitao
@ 2011-01-20 9:06 ` Garrett Cooper
0 siblings, 0 replies; 2+ messages in thread
From: Garrett Cooper @ 2011-01-20 9:06 UTC (permalink / raw)
To: Peng Haitao; +Cc: ltp-list
On Thu, Jan 20, 2011 at 12:19 AM, Peng Haitao <penght@cn.fujitsu.com> wrote:
> Hi Garrett,
>
> "return 1" should be replaced with "tst_exit()".
Committed -- thanks.
-Garrett
------------------------------------------------------------------------------
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-20 9:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-20 8:19 [LTP] [PATCH] rt_sigprocmask01: fix error of wrong return code Peng Haitao
2011-01-20 9:06 ` Garrett Cooper
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.