Say one thing, do the other... nextpid -> lastpid

This commit is contained in:
Dag-Erling Smørgrav 2001-06-11 23:00:35 +00:00
parent 9c0247ff80
commit 336d3d2ab3
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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