]> git.corax.cc Git - corax/commitdiff
kernel/core: Assign pids starting with 0
authorMatthias Kruk <m@m10k.eu>
Wed, 6 May 2020 06:50:34 +0000 (15:50 +0900)
committerMatthias Kruk <m@m10k.eu>
Wed, 6 May 2020 06:50:34 +0000 (15:50 +0900)
kernel/core/process.c

index 5afdd8e63fcf669902eef714e4dee74042d13dcb..a87dd5686d75c6706d1cd102196be6b6c8b11182 100644 (file)
@@ -142,7 +142,7 @@ const static sighandler_t _sig_dfl[] = {
        CORE, TERM, TERM,  IGN, TERM, TERM, CORE, CORE
 };
 
-static pid_t _next_pid = 100;
+static pid_t _next_pid = 0;
 static struct proc_list *_procs;
 
 static inline int NQ(process_t *p)