aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/igen.c
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2022-10-12 11:09:35 +0100
committerAndrew Burgess <aburgess@redhat.com>2022-10-19 14:32:22 +0100
commit744875dfdc94dc397ae666c65c56b416c3a191db (patch)
tree7e3116f7a8343b68500e9f31d2704110bf4a66e2 /sim/ppc/igen.c
parentcb9d1609da6e623158ba5a8cb4a2712bcea4f57f (diff)
downloadgdb-744875dfdc94dc397ae666c65c56b416c3a191db.zip
gdb-744875dfdc94dc397ae666c65c56b416c3a191db.tar.gz
gdb-744875dfdc94dc397ae666c65c56b416c3a191db.tar.bz2
sim/ppc: fix warnings related to printf format strings
This commit is a follow on to: commit 182421c9d2eea8c4877d983a2124e591f0aca710 Date: Tue Oct 11 15:02:08 2022 +0100 sim/ppc: fixes for arguments to printf style functions where commit 182421c9d2ee addressed issues with printf format arguments that were causing the compiler to give an error, this commit addresses issues that caused the compiler to emit a warning. This commit is mostly either changing the format string to match the argument, or in some cases, excess, unused arguments are removed.
Diffstat (limited to 'sim/ppc/igen.c')
-rw-r--r--sim/ppc/igen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/ppc/igen.c b/sim/ppc/igen.c
index 6a6dbc3..27b4863 100644
--- a/sim/ppc/igen.c
+++ b/sim/ppc/igen.c
@@ -442,7 +442,7 @@ main(int argc,
code |= generate_with_icache;
break;
default:
- error (NULL, "Expecting -Ggen-icache or -Ggen-icache=<N>\n");
+ error ("Expecting -Ggen-icache or -Ggen-icache=<N>\n");
}
}
}