From 3a076895bb9c4937b63b6a4307cfaee0b3a7bbab Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 20 Oct 1986 13:28:59 +0000 Subject: [PATCH] Caused a core dump on 68000-based machines (read: non-VAX) when called at a certain (high) level of verbosity, -v5 for instance. Cause: a null-reference. This is fixed. --- util/ack/rmach.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/ack/rmach.c b/util/ack/rmach.c index 14c946ac8..16b3c893a 100644 --- a/util/ack/rmach.c +++ b/util/ack/rmach.c @@ -257,7 +257,7 @@ intrf() { if ( debug>=3 ) { register list_elem *elem ; vprint("%s: from %s to %s '%s'\n", - new->t_name,new->t_in,new->t_out,new->t_prog) ; + new->t_name,new->t_in ? new->t_in : "(null)",new->t_out,new->t_prog) ; vprint("\targs: ") ; prns(new->t_argd) ; scanlist( l_first(new->t_mapf), elem ) { vprint("\t%s\n",l_content(*elem)) ; -- 2.34.1