[aravis/realtime] realtime: fix return value of make_thread_realtime
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [aravis/realtime] realtime: fix return value of make_thread_realtime
- Date: Tue,  2 Dec 2014 10:37:42 +0000 (UTC)
commit 46400c12ce00628ae2013aad188d59a70ff3de27
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Tue Dec 2 11:32:36 2014 +0100
    realtime: fix return value of make_thread_realtime
    
    If sched_setscheduler succeed, return TRUE, no FALSE.
 src/arvrealtime.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/arvrealtime.c b/src/arvrealtime.c
index f9136ec..8218e35 100644
--- a/src/arvrealtime.c
+++ b/src/arvrealtime.c
@@ -263,7 +263,7 @@ arv_make_thread_realtime (int priority)
                return TRUE;
        }
 
-       return FALSE;
+       return TRUE;
 }
 
 gboolean
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]