summaryrefslogtreecommitdiff
path: root/utils/ps.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/ps.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/ps.c')
-rw-r--r--utils/ps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/ps.c b/utils/ps.c
index 3dba399e..615852fd 100644
--- a/utils/ps.c
+++ b/utils/ps.c
@@ -1,6 +1,6 @@
/* Show process information.
- Copyright (C) 1995,96,97,98,99 Free Software Foundation, Inc.
+ Copyright (C) 1995,96,97,98,99,2002 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.org>
@@ -173,7 +173,7 @@ main(int argc, char *argv[])
char *arg_hack_buf = 0;
struct idvec *only_uids = make_idvec (), *not_uids = make_idvec ();
char *tty_names = 0;
- unsigned num_tty_names = 0;
+ size_t num_tty_names = 0;
struct proc_stat_list *procset;
struct ps_context *context;
const char *fmt_string = "default", *sort_key_name = NULL;