summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--avivotool.c2
-rw-r--r--radeonreg.c2
-rw-r--r--radeontool.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/avivotool.c b/avivotool.c
index 240f523..02b03ba 100644
--- a/avivotool.c
+++ b/avivotool.c
@@ -64,7 +64,7 @@ unsigned char * volatile fb_mem;
static void fatal(char *why)
{
- fprintf(stderr, why);
+ fprintf(stderr, "%s", why);
pci_system_cleanup();
}
diff --git a/radeonreg.c b/radeonreg.c
index 9948665..5f1ab61 100644
--- a/radeonreg.c
+++ b/radeonreg.c
@@ -47,7 +47,7 @@ unsigned char * volatile fb_mem;
static void fatal(char *why)
{
- fprintf(stderr, why);
+ fprintf(stderr, "%s", why);
pci_system_cleanup();
}
diff --git a/radeontool.c b/radeontool.c
index 6e269f1..97b2c40 100644
--- a/radeontool.c
+++ b/radeontool.c
@@ -39,7 +39,7 @@ unsigned char * volatile ctrl_mem;
static void radeon_rom_legacy_mmio_table(unsigned char *bios, int offset);
static void fatal(char *why)
{
- fprintf(stderr,why);
+ fprintf(stderr, "%s", why);
pci_system_cleanup();
exit(-1);
}