From 9ddac092a831d9eb4a53959764c2d13b12964a0c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 1 Jan 2024 17:34:01 -0500 Subject: sim: ppc: rework igen error to match common Switch to an ERROR macro and tweak the error signature to match the common igen version in preparation for merging the two implementations. --- sim/ppc/table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sim/ppc/table.c') diff --git a/sim/ppc/table.c b/sim/ppc/table.c index cb9a73a..0c5b6fc 100644 --- a/sim/ppc/table.c +++ b/sim/ppc/table.c @@ -98,7 +98,7 @@ table_push (table *root, /* free (dup_name); */ if (include->next == NULL) { - error ("Problem opening file `%s'\n", file_name); + ERROR ("Problem opening file `%s'\n", file_name); perror (file_name); exit (1); } -- cgit v1.1