[m-dev.] trivial diff: port names

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Oct 15 20:10:32 AEST 1999


On 15-Oct-1999, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> 
>  void
>  MR_trace_event_print_internal_report(MR_Event_Info *event_info)
>  {
> -	fprintf(MR_mdb_out, "%8ld: %6ld %2ld ",
> +	fprintf(MR_mdb_out, "%8ld: %6ld %2ld %s",
>  		(long) event_info->MR_event_number,
>  		(long) event_info->MR_call_seqno,
> -		(long) event_info->MR_call_depth);
> +		(long) event_info->MR_call_depth,
> +		MR_port_names[event_info->MR_trace_port);

That has a syntax error: missing ']'.

Apart from that, this change looks fine.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list