Browse Source

core/rthreads.h: fix missing return

S-P Chan 1 year ago
parent
commit
1a2993ca37
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/rthreads.h

+ 1 - 1
src/core/rthreads.h

@@ -49,7 +49,7 @@ static void *run_threadP(_thread_proto fn, void *arg)
 
 	return ret;
 #else
-        fn(arg);
+        return fn(arg);
 #endif /* USE_TLS */
 }
 #endif