summaryrefslogtreecommitdiff
path: root/usr.bin/kdump/kdump.c
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>1999-08-24 23:06:06 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>1999-08-24 23:06:06 +0000
commitcc4b73fcc067f02c930bbf0b5bcb526d352dee1a (patch)
tree5eaa5bf737522848f68b2ed04f6ad9fa5a30e0a6 /usr.bin/kdump/kdump.c
parent1dba14c3cdca6eb2d9bb3d05c99ebbeaf49debaf (diff)
Notes
Diffstat (limited to 'usr.bin/kdump/kdump.c')
-rw-r--r--usr.bin/kdump/kdump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index da725527b1fe..bc658fa72742 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;