-/* $OpenBSD: kdump.c,v 1.147 2022/02/22 03:40:55 deraadt Exp $ */
+/* $OpenBSD: kdump.c,v 1.148 2022/02/22 17:31:31 deraadt Exp $ */
/*-
* Copyright (c) 1988, 1993
* SUCH DAMAGE.
*/
-#include <sys/param.h> /* MAXCOMLEN */
#include <sys/time.h>
#include <sys/signal.h>
#include <sys/uio.h>
basecol = printf("%6ld", (long)kth->ktr_pid);
if (needtid)
basecol += printf("/%-7ld", (long)kth->ktr_tid);
- basecol += printf(" %-8.*s ", MAXCOMLEN, kth->ktr_comm);
+ basecol += printf(" %-8s ", kth->ktr_comm);
if (timestamp != TIMESTAMP_NONE) {
if (timestamp == TIMESTAMP_ELAPSED) {
if (prevtime.tv_sec == 0)