Say one thing, do the other... nextpid -> lastpid
This commit is contained in:
parent
9c0247ff80
commit
336d3d2ab3
@ -397,7 +397,7 @@ linprocfs_doloadavg(PFS_FILL_ARGS)
|
||||
(int)(averunnable.ldavg[2] * 100 / averunnable.fscale % 100),
|
||||
1, /* number of running tasks */
|
||||
nprocs, /* number of tasks */
|
||||
nextpid /* the last pid */
|
||||
lastpid /* the last pid */
|
||||
);
|
||||
|
||||
return (0);
|
||||
|
@ -486,7 +486,7 @@ extern struct proc *updateproc; /* Process slot for syncer (sic). */
|
||||
|
||||
extern struct vm_zone *proc_zone;
|
||||
|
||||
extern int nextpid;
|
||||
extern int lastpid;
|
||||
|
||||
/*
|
||||
* XXX macros for scheduler. Shouldn't be here, but currently needed for
|
||||
|
Loading…
x
Reference in New Issue
Block a user