stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r501846 - /incubator/stdcxx/trunk/util/exec.cpp
Date Wed, 31 Jan 2007 13:57:40 GMT
Author: faridz
Date: Wed Jan 31 05:57:39 2007
New Revision: 501846

URL: http://svn.apache.org/viewvc?view=rev&rev=501846
Log:
2007-01-31 Farid Zaripov <faridz@kyiv.vdiweb.com>

	* exec.cpp (calculate_usage): Corrected variable
	in conditional expression

Modified:
    incubator/stdcxx/trunk/util/exec.cpp

Modified: incubator/stdcxx/trunk/util/exec.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/util/exec.cpp?view=diff&rev=501846&r1=501845&r2=501846
==============================================================================
--- incubator/stdcxx/trunk/util/exec.cpp (original)
+++ incubator/stdcxx/trunk/util/exec.cpp Wed Jan 31 05:57:39 2007
@@ -814,7 +814,7 @@
 
     c_clk = times (&c_tms);
 
-    if (-1 == wall) {
+    if (-1 == c_clk) {
         warn ("Failed to retrieve ending times: %s", strerror (errno));
         return;
     }



Mime
View raw message