git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Kernel/arm7 - Tiny bugfix in NewKThread
[tpg/acess2.git]
/
Kernel
/
arch
/
arm7
/
proc.c
diff --git
a/Kernel/arch/arm7/proc.c
b/Kernel/arch/arm7/proc.c
index
2ab7d46
..
f4025cc
100644
(file)
--- a/
Kernel/arch/arm7/proc.c
+++ b/
Kernel/arch/arm7/proc.c
@@
-75,7
+75,7
@@
tTID Proc_NewKThread( void (*Fnc)(void*), void *Ptr )
if(!new) return -1;
new->KernelStack = MM_NewKStack(0);
- if(!new) {
+ if(!new
->KernelStack
) {
// TODO: Delete thread
return -1;
}
UCC
git Repository :: git.ucc.asn.au