From c4fa346037d03365d950dfea984c940df6934ef2 Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Sat, 28 Mar 1998 23:45:08 +0000 Subject: * haifa-sched.c (print_pattern): Correct arg to sprintf. From-SVN: r18884 --- gcc/ChangeLog | 2 ++ gcc/haifa-sched.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5611ce9..5c9a678 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 046c353..7ddbcc8 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; -- cgit v1.1