Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/usr.bin/systat Pull up revision 1.14 (requested by he):



details:   https://anonhg.NetBSD.org/src/rev/d29b4e1503e1
branches:  netbsd-1-4
changeset: 469500:d29b4e1503e1
user:      he <he%NetBSD.org@localhost>
date:      Sun Sep 26 13:38:01 1999 +0000

description:
Pull up revision 1.14 (requested by he):
  LP64 and type sanity fixes, with visible effects of enabling echo
  on commands and correct cursor placement after update.

diffstat:

 usr.bin/systat/pigs.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 4f864617c5a4 -r d29b4e1503e1 usr.bin/systat/pigs.c
--- a/usr.bin/systat/pigs.c     Sun Sep 26 13:37:22 1999 +0000
+++ b/usr.bin/systat/pigs.c     Sun Sep 26 13:38:01 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pigs.c,v 1.13 1999/02/21 21:48:07 jwise Exp $  */
+/*     $NetBSD: pigs.c,v 1.13.2.1 1999/09/26 13:38:01 he Exp $ */
 
 /*-
  * Copyright (c) 1980, 1992, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)pigs.c     8.2 (Berkeley) 9/23/93";
 #endif
-__RCSID("$NetBSD: pigs.c,v 1.13 1999/02/21 21:48:07 jwise Exp $");
+__RCSID("$NetBSD: pigs.c,v 1.13.2.1 1999/09/26 13:38:01 he Exp $");
 #endif /* not lint */
 
 /*
@@ -176,8 +176,8 @@
        }
        KREAD(NPTR(X_CPTIME), stime, sizeof (stime));
        KREAD(NPTR(X_PHYSMEM), &mempages, sizeof (mempages));
-       NREAD(X_CCPU, &ccpu, LONG);
-       NREAD(X_FSCALE,  &fscale, LONG);
+       NREAD(X_CCPU, &ccpu, sizeof ccpu);
+       NREAD(X_FSCALE,  &fscale, sizeof fscale);
        lccpu = log((double) ccpu / fscale);
 
        return(1);



Home | Main Index | Thread Index | Old Index