Fix proc test.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 10 Sep 2009 09:48:31 +0000 (09:48 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 10 Sep 2009 09:48:31 +0000 (09:48 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2920 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/kern/proc_test.c

index 5668b3f40c85d7b2a311812a8dcc7d76e569a432..7573e802a726a8d705e0bd94336e72617a1d3c19 100644 (file)
@@ -229,17 +229,18 @@ int proc_testRun(void)
                kputs("Priority test successfull.\n");
        }
 
+       return ret_value;
+
 priority_fail:
        kputs("Priority test failed.\n");
-       ret_value = -1;
+       return -1;
 
 #endif
 
-       return ret_value
+       return ret_value;
 
 }
 
-
 int proc_testSetup(void)
 {
        kdbg_init();