diff options
| author | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-06-25 17:23:18 +0200 |
|---|---|---|
| committer | Laurent Vivier <laurent@vivier.eu> | 2022-07-06 12:29:59 +0200 |
| commit | 23f0a6c80d9dc05508a9c63e29e9ded905186099 (patch) | |
| tree | 2ae1bd866e32c3b3368e49d8c909c9f57079e024 | |
| parent | 180c2f24d5e8eada41e012a3899d29bb695aae06 (diff) | |
| download | focaccia-qemu-23f0a6c80d9dc05508a9c63e29e9ded905186099.tar.gz focaccia-qemu-23f0a6c80d9dc05508a9c63e29e9ded905186099.zip | |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/m68k/bootinfo.h b/hw/m68k/bootinfo.h index adbf0c5521..ff4e155a3c 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 |