summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-12-01 19:01:46 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-12-01 19:01:46 +0000
commit1bcd871b4e1f12136e52a6260917997079d1e8a6 (patch)
tree3037ffcdda761feaf0c401b769d2700c2ade998a /bin
parent94936f6695a8dda9c4f88c07f821a8cd65b6be1f (diff)
wrong printf spec for a field
Diffstat (limited to 'bin')
-rw-r--r--bin/ps/print.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ps/print.c b/bin/ps/print.c
index 622e62548c8..9e0096595e2 100644
--- a/bin/ps/print.c
+++ b/bin/ps/print.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print.c,v 1.20 2001/11/07 08:23:08 miod Exp $ */
+/* $OpenBSD: print.c,v 1.21 2001/12/01 19:01:45 deraadt Exp $ */
/* $NetBSD: print.c,v 1.27 1995/09/29 21:58:12 cgd Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94";
#else
-static char rcsid[] = "$OpenBSD: print.c,v 1.20 2001/11/07 08:23:08 miod Exp $";
+static char rcsid[] = "$OpenBSD: print.c,v 1.21 2001/12/01 19:01:45 deraadt Exp $";
#endif
#endif /* not lint */
@@ -629,7 +629,7 @@ maxrss(k, ve)
VAR *v;
v = ve->var;
- (void)printf("%*d", v->width, KI_EPROC(k)->e_maxrss / 1024);
+ (void)printf("%*lld", v->width, KI_EPROC(k)->e_maxrss / 1024);
}
void