aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-06-25 17:23:18 +0200
committerLaurent Vivier <laurent@vivier.eu>2022-07-06 12:29:59 +0200
commit23f0a6c80d9dc05508a9c63e29e9ded905186099 (patch)
tree2ae1bd866e32c3b3368e49d8c909c9f57079e024
parent180c2f24d5e8eada41e012a3899d29bb695aae06 (diff)
downloadqemu-23f0a6c80d9dc05508a9c63e29e9ded905186099.zip
qemu-23f0a6c80d9dc05508a9c63e29e9ded905186099.tar.gz
qemu-23f0a6c80d9dc05508a9c63e29e9ded905186099.tar.bz2
m68k: use correct variable name in boot info string macro
Every time this macro is used, the caller is passing in "parameters_base", so this bug wasn't spotted. But the actual macro variable name is "base", so use that instead. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20220625152318.120849-1-Jason@zx2c4.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
-rw-r--r--hw/m68k/bootinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/m68k/bootinfo.h b/hw/m68k/bootinfo.h
index adbf0c5..ff4e155 100644
--- a/hw/m68k/bootinfo.h
+++ b/hw/m68k/bootinfo.h
@@ -54,6 +54,6 @@
stb_phys(as, base++, string[i]); \
} \
stb_phys(as, base++, 0); \
- base = (parameters_base + 1) & ~1; \
+ base = (base + 1) & ~1; \
} while (0)
#endif