diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5611ce9ea58..5c9a6788d89 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ Sun Mar 29 00:42:21 1998 Jeffrey A Law (law@cygnus.com) + * haifa-sched.c (print_pattern): Correct arg to sprintf. + * Makefile.in (libgcc1.null): Make return type for __foo void. Sat Mar 28 14:37:20 1998 Jeffrey A Law (law@cygnus.com) diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index 046c3531546..7ddbcc889e8 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -6041,7 +6041,7 @@ print_pattern (buf, x, verbose) } break; case ASM_INPUT: - sprintf (buf, "asm {%s}", XEXP (x, 0)); + sprintf (buf, "asm {%s}", XSTR (x, 0)); break; case ADDR_VEC: break;