summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorangelos <angelos@openbsd.org>2001-05-14 07:09:59 +0000
committerangelos <angelos@openbsd.org>2001-05-14 07:09:59 +0000
commit2adccd50eb1475159710f6b8917777ee94a4e37e (patch)
treeb9b07f6f664962e8afc77d8e6fde07b351ceb667
parentKERN_TTY sysctl (diff)
downloadwireguard-openbsd-2adccd50eb1475159710f6b8917777ee94a4e37e.tar.xz
wireguard-openbsd-2adccd50eb1475159710f6b8917777ee94a4e37e.zip
long -> int64_t for tty statistics
-rw-r--r--usr.bin/vmstat/dkstats.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/vmstat/dkstats.h b/usr.bin/vmstat/dkstats.h
index 02f2a4d4a98..fedb64ce047 100644
--- a/usr.bin/vmstat/dkstats.h
+++ b/usr.bin/vmstat/dkstats.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dkstats.h,v 1.5 2001/02/07 20:32:55 todd Exp $ */
+/* $OpenBSD: dkstats.h,v 1.6 2001/05/14 07:09:59 angelos Exp $ */
/* $NetBSD: dkstats.h,v 1.1 1996/05/10 23:19:28 thorpej Exp $ */
/*
@@ -44,8 +44,8 @@ struct _disk {
u_int64_t *dk_seek; /* # of seeks (currently unused). */
u_int64_t *dk_bytes; /* # of bytes transferred. */
struct timeval *dk_time; /* Time spent in disk i/o. */
- long tk_nin; /* TTY Chars in. */
- long tk_nout; /* TTY Chars out. */
+ int64_t tk_nin; /* TTY Chars in. */
+ int64_t tk_nout; /* TTY Chars out. */
long cp_time[CPUSTATES]; /* System timer ticks. */
};