diff options
author | jmz <jmz@FreeBSD.org> | 1999-05-21 01:09:45 +0000 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 1999-05-21 01:09:45 +0000 |
commit | 810c2d455753d9eb8fac94582c7234582cc93130 (patch) | |
tree | 77c8086bd7fdb94b49ebec7f8581104bb984b4a1 /usr.bin/kdump | |
parent | 7b9cb360f2d03e5fdfb0518204ad36d4087932ee (diff) | |
download | FreeBSD-src-810c2d455753d9eb8fac94582c7234582cc93130.zip FreeBSD-src-810c2d455753d9eb8fac94582c7234582cc93130.tar.gz |
FIx the output of long command names.
PR: bin/10027
Submitted by: Arne Henrik Juul <arnej@math.ntnu.no>
Diffstat (limited to 'usr.bin/kdump')
-rw-r--r-- | usr.bin/kdump/kdump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c index da72552..bc658fa7 100644 --- a/usr.bin/kdump/kdump.c +++ b/usr.bin/kdump/kdump.c @@ -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; |