Skip to contentSkip to conversation

Fix a building error at pi_test case.

PATCH In review Peng Haitao 2 participants 2 messages Jan 13, 2011 – Jan 14, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix a building error at pi_test case.

Hi Garrett,

---
 .../functional/threads/pi_test/pitest-4.c          |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
testcases/open_posix_testsuite/functional/threads/pi_test/pitest-4.c +2 -2
index dca4f07..ad940dc 100644
@@ -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
+}
Signature · 17 lines
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
#1 lore raw
Quoted 3 lines · Peng Haitao

Hi Garrett,

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list