summaryrefslogtreecommitdiff
path: root/utils/vmstat.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-28 23:56:34 +0000
committerRoland McGrath <roland@gnu.org>2002-05-28 23:56:34 +0000
commit25b39daa9074d851dd75ea87640ffeb7808c61f0 (patch)
treec20c984f230041e76fef4643b451a4dbdf971a49 /utils/vmstat.c
parent5cd8d4c8112c82457677bcf7eb92ab2cddad930d (diff)
2002-05-28 Roland McGrath <roland@frob.com>
* pids.c (add_fn_pids): unsigned -> size_t * w.c (add_utmp_procs): Likewise. * login.c (add_canonical_host): Likewise. * ps.c (main): Likewise. * login.c (add_entry, main): Likewise. * settrans.c (main): int -> size_t * showtrans.c (main): Likewise. * fsysopts.c (main): Likewise. * vmstat.c (main): Use int for FWIDTHS. * ping.c (main): size_t -> socklen_t * fakeauth.c (S_auth_getids, S_auth_makeauth, S_auth_server_authenticate): u_int -> size_t * showtrans.c (main): Cast field width/precision args to int.
Diffstat (limited to 'utils/vmstat.c')
-rw-r--r--utils/vmstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/vmstat.c b/utils/vmstat.c
index 4166e269..c674bd4f 100644
--- a/utils/vmstat.c
+++ b/utils/vmstat.c
@@ -490,7 +490,7 @@ main (int argc, char **argv)
do
{
int num;
- size_t fwidths[num_fields];
+ int fwidths[num_fields];
if (first_hdr)
first_hdr = 0;