Skip to content

Commit efa8050

Browse files
committed
[lldb] Fix typo in CumulativeSystemTimeIsValid check
1 parent 4e34035 commit efa8050

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/include/lldb/Utility/ProcessInfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ class ProcessInstanceInfo : public ProcessInfo {
234234

235235
bool CumulativeSystemTimeIsValid() const {
236236
return m_cumulative_system_time.tv_sec > 0 ||
237-
m_cumulative_system_time.tv_sec > 0;
237+
m_cumulative_system_time.tv_usec > 0;
238238
}
239239

240240
void Dump(Stream &s, UserIDResolver &resolver) const;

0 commit comments

Comments
 (0)