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.16 (requested by he):
details: https://anonhg.NetBSD.org/src/rev/fdb080af9502
branches: netbsd-1-4
changeset: 469498:fdb080af9502
user: he <he%NetBSD.org@localhost>
date: Sun Sep 26 13:36:43 1999 +0000
description:
Pull up revision 1.16 (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/main.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r dd1f18a71229 -r fdb080af9502 usr.bin/systat/main.c
--- a/usr.bin/systat/main.c Sun Sep 26 13:35:57 1999 +0000
+++ b/usr.bin/systat/main.c Sun Sep 26 13:36:43 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.15 1998/07/19 17:47:07 drochner Exp $ */
+/* $NetBSD: main.c,v 1.15.2.1 1999/09/26 13:36:43 he Exp $ */
/*-
* Copyright (c) 1980, 1992, 1993
@@ -40,7 +40,7 @@
#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93";
#endif
-__RCSID("$NetBSD: main.c,v 1.15 1998/07/19 17:47:07 drochner Exp $");
+__RCSID("$NetBSD: main.c,v 1.15.2.1 1999/09/26 13:36:43 he Exp $");
#endif /* not lint */
#include <sys/param.h>
@@ -194,8 +194,8 @@
}
gethostname(hostname, sizeof (hostname));
hostname[sizeof(hostname) - 1] = '\0';
- NREAD(X_HZ, &hz, LONG);
- NREAD(X_STATHZ, &stathz, LONG);
+ NREAD(X_HZ, &hz, sizeof hz);
+ NREAD(X_STATHZ, &stathz, sizeof stathz);
(*curcmd->c_init)();
curcmd->c_flags |= CF_INIT;
labels();
Home |
Main Index |
Thread Index |
Old Index