public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP]  [POSIX][PATCH] Fix a building error at pi_test case.
@ 2011-01-13  7:44 Peng Haitao
  2011-01-14  7:09 ` Garrett Cooper
  0 siblings, 1 reply; 2+ messages in thread
From: Peng Haitao @ 2011-01-13  7:44 UTC (permalink / raw)
  To: yanegomi; +Cc: ltp-list

Hi Garrett,

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>

---
 .../functional/threads/pi_test/pitest-4.c          |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/testcases/open_posix_testsuite/functional/threads/pi_test/pitest-4.c b/testcases/open_posix_testsuite/functional/threads/pi_test/pitest-4.c
index dca4f07..ad940dc 100644
--- a/testcases/open_posix_testsuite/functional/threads/pi_test/pitest-4.c
+++ b/testcases/open_posix_testsuite/functional/threads/pi_test/pitest-4.c
@@ -217,7 +217,7 @@ void *thread_tb2(void *arg)
 	DPRINTF(stdout, "#EVENT %f Thread TB2 Started\n",
 		seconds_read() - base_time);
 
-	boost_time.tv_sec = time(NULL) + *(time_t *)timeoutsec;
+	boost_time.tv_sec = time(NULL) + *(time_t *)arg;
 	boost_time.tv_nsec = 0;
 
 	t0 = seconds_read();
@@ -341,4 +341,4 @@ int main(int argc, char **argv)
 	ts_stop = 1;
 	DPRINTF(stderr,"Main Thread: stop sampler thread\n");
 	return 0;
-}
\ 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
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] [POSIX][PATCH] Fix a building error at pi_test case.
  2011-01-13  7:44 [LTP] [POSIX][PATCH] Fix a building error at pi_test case Peng Haitao
@ 2011-01-14  7:09 ` Garrett Cooper
  0 siblings, 0 replies; 2+ messages in thread
From: Garrett Cooper @ 2011-01-14  7:09 UTC (permalink / raw)
  To: Peng Haitao; +Cc: ltp-list

On Wed, Jan 12, 2011 at 11:44 PM, Peng Haitao <penght@cn.fujitsu.com> wrote:
> Hi Garrett,
>
> Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>

Fixed -- 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-14  7:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-13  7:44 [LTP] [POSIX][PATCH] Fix a building error at pi_test case Peng Haitao
2011-01-14  7:09 ` Garrett Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox