summaryrefslogtreecommitdiff
path: root/proc.h
diff options
context:
space:
mode:
Diffstat (limited to 'proc.h')
-rw-r--r--proc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc.h b/proc.h
index 01bff4a..9750c15 100644
--- a/proc.h
+++ b/proc.h
@@ -33,7 +33,7 @@ struct proc {
char *kstack; // Bottom of kernel stack for this process
enum proc_state state; // Process state
int pid; // Process ID
- int ppid; // Parent pid
+ struct proc *parent; // Parent process
void *chan; // If non-zero, sleeping on chan
int killed; // If non-zero, have been killed
struct file *ofile[NOFILE]; // Open files