1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-27 16:39:08 +00:00

FIx the output of long command names.

PR:		bin/10027
Submitted by:	Arne Henrik Juul <arnej@math.ntnu.no>
This commit is contained in:
Jean-Marc Zucconi 1999-05-21 01:09:45 +00:00
parent ebf7b1ce80
commit 619f08032e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=47349

View File

@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)kdump.c 8.1 (Berkeley) 6/6/93";
#endif
static const char rcsid[] =
"$Id$";
"$Id: kdump.c,v 1.11 1997/07/16 06:49:49 charnier Exp $";
#endif /* not lint */
#define KERNEL
@ -211,7 +211,7 @@ dumpheader(kth)
type = unknown;
}
(void)printf("%6d %-8s ", kth->ktr_pid, kth->ktr_comm);
(void)printf("%6d %-8.*s ", kth->ktr_pid, MAXCOMLEN, kth->ktr_comm);
if (timestamp) {
if (timestamp == 2) {
temp = kth->ktr_time;