From 11f51b45f40ccebcd24a1c298549b54c730375ec Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 19 Jan 1996 00:51:28 +0000 Subject: (ps_context_create): Initialize USER_HOOKS field. --- libps/context.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libps/context.c') diff --git a/libps/context.c b/libps/context.c index c7ec87f8..3d343c9a 100644 --- a/libps/context.c +++ b/libps/context.c @@ -41,6 +41,7 @@ ps_context_create(process_t server, ps_context_t *pc) return ENOMEM; (*pc)->server = server; + (*pc)->user_hooks = 0; err_procs = ihash_create(&(*pc)->procs); err_ttys = ihash_create(&(*pc)->ttys); err_ttys_by_cttyid = ihash_create(&(*pc)->ttys_by_cttyid); -- cgit v1.2.3