summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libexec/rpc.rstatd/rstat_proc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/rpc.rstatd/rstat_proc.c b/libexec/rpc.rstatd/rstat_proc.c
index 8bb30249f3d..d002a9deb2b 100644
--- a/libexec/rpc.rstatd/rstat_proc.c
+++ b/libexec/rpc.rstatd/rstat_proc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rstat_proc.c,v 1.4 1997/02/20 06:43:00 tholo Exp $ */
+/* $OpenBSD: rstat_proc.c,v 1.5 1997/04/17 00:06:30 weingart Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -31,7 +31,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)rpc.rstatd.c 1.1 86/09/25 Copyr 1984 Sun Micro";*/
/*static char sccsid[] = "from: @(#)rstat_proc.c 2.2 88/08/01 4.0 RPCSRC";*/
-static char rcsid[] = "$OpenBSD: rstat_proc.c,v 1.4 1997/02/20 06:43:00 tholo Exp $";
+static char rcsid[] = "$OpenBSD: rstat_proc.c,v 1.5 1997/04/17 00:06:30 weingart Exp $";
#endif
/*
@@ -208,7 +208,7 @@ updatestat()
double avrun[3];
struct timeval tm, btm;
#ifdef BSD
- int cp_time[BSD_CPUSTATES];
+ long *cp_time = cur.cp_time;
#endif
#ifdef DEBUG