diff --git a/sys/compat/linprocfs/linprocfs.c b/sys/compat/linprocfs/linprocfs.c index 5732c5c9b329..f8e76e74d66d 100644 --- a/sys/compat/linprocfs/linprocfs.c +++ b/sys/compat/linprocfs/linprocfs.c @@ -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); diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 1d0b1de7e8cd..268925af6f60 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -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