summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/compat/linprocfs/linprocfs.c2
-rw-r--r--sys/sys/proc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linprocfs/linprocfs.c b/sys/compat/linprocfs/linprocfs.c
index 5732c5c..f8e76e7 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 1d0b1de..268925a 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
OpenPOWER on IntegriCloud