projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test for ticket system bug #14.
[bertos.git]
/
kern
/
proc.c
diff --git
a/kern/proc.c
b/kern/proc.c
index f28b9819fa88e3d3251c427e2df318efa352475c..38cbc4decfb285fe1ec81831472cc1718fbb2c32 100644
(file)
--- a/
kern/proc.c
+++ b/
kern/proc.c
@@
-175,7
+175,7
@@
struct Process *proc_new_with_name(UNUSED(const char *, name), void (*entry)(voi
#if CONFIG_KERN_MONITOR
/* Fill-in the stack with a special marker to help debugging */
#if CONFIG_KERN_MONITOR
/* Fill-in the stack with a special marker to help debugging */
- memset(stack_base,
CONFIG_KERN_STACKFILLCODE, stacksize / sizeof(cpustack_t)
);
+ memset(stack_base,
(char)CONFIG_KERN_STACKFILLCODE, stacksize
);
#endif
/* Initialize the process control block */
#endif
/* Initialize the process control block */