Changeset 972

Show
Ignore:
Timestamp:
03/23/08 08:59:49 (15 years ago)
Author:
ppalmers
Message:

- fix error checking

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/libutil/Watchdog.cpp

    r970 r972  
    183183    // switch to realtime if necessary 
    184184    if(m_realtime) { 
    185         if(m_CheckThread->AcquireRealTime(m_priority)) { 
     185        if(!m_CheckThread->AcquireRealTime(m_priority)) { 
    186186            debugWarning("(%p) Could not aquire realtime priotiry for watchdog thread.\n", this); 
    187187        }