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 <[EMAIL PROTECTED]>
* 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;
}