summaryrefslogtreecommitdiff
path: root/libps/context.c
diff options
context:
space:
mode:
Diffstat (limited to 'libps/context.c')
-rw-r--r--libps/context.c1
1 files changed, 1 insertions, 0 deletions
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);