diff options
Diffstat (limited to 'proc')
-rw-r--r-- | proc/mgt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -862,7 +862,7 @@ genpid () { #define WRAP_AROUND 30000 #define START_OVER 100 - static int nextpid = 0; + static int nextpid = 1; static int wrap = WRAP_AROUND; while (nextpid < wrap && !pidfree (nextpid)) |