diff options
Diffstat (limited to 'libthreads/alpha')
-rw-r--r-- | libthreads/alpha/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libthreads/alpha/thread.c b/libthreads/alpha/thread.c index db2cb0c8..350fd5fc 100644 --- a/libthreads/alpha/thread.c +++ b/libthreads/alpha/thread.c @@ -82,7 +82,7 @@ cproc_setup( * Set up ALPHA call frame and registers. */ ts = &state; - bzero((char *) ts, sizeof(struct alpha_thread_state)); + memset ((char *)ts, 0, sizeof(struct alpha_thread_state)); top = (integer_t *) (child->stack_base + child->stack_size); |