From 270310e60390cc0364fac3c3044990aad955b980 Mon Sep 17 00:00:00 2001 From: wutno Date: Mon, 4 Jan 2021 03:58:41 -0500 Subject: [PATCH] smc: Fix version string modulus --- hw/xbox/smbus_xbox_smc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xbox/smbus_xbox_smc.c b/hw/xbox/smbus_xbox_smc.c index 733ff0cc79..389caacaa5 100644 --- a/hw/xbox/smbus_xbox_smc.c +++ b/hw/xbox/smbus_xbox_smc.c @@ -91,7 +91,7 @@ #define SMC_REG_SCRATCH 0x1b #define SMC_REG_SCRATCH_SHORT_ANIMATION 0x04 -static const char *smc_version_string = "P01"; +static const char smc_version_string[] = "P01"; typedef struct SMBusSMCDevice { SMBusDevice smbusdev;