summaryrefslogtreecommitdiff
path: root/libps
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-01-19 00:51:28 +0000
committerMiles Bader <miles@gnu.org>1996-01-19 00:51:28 +0000
commit11f51b45f40ccebcd24a1c298549b54c730375ec (patch)
tree9f0f8244b1f38e401a892851a297e5213d300253 /libps
parent09a7160497c340697af07ec106363b6e0171e1a6 (diff)
(ps_context_create): Initialize USER_HOOKS field.
Diffstat (limited to 'libps')
-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);