aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorRené Rebe <rene@exactcode.de>2011-03-21 11:33:21 +0100
committerAurelien Jarno <aurelien@aurel32.net>2011-03-22 07:42:08 +0100
commit7f90fa77b8f0dbe2e9d221953b8f9a6af6a3128a (patch)
tree7883001bf68f2f379c867345c95d920a03c3a00b /hw
parentadf82011ef33df8e4d2421e957ccdbd5bbd12ad1 (diff)
fix applesmc REV key
Fix applesmc REV key string literal hex encoding. Signed-off-by: René Rebe <rene@exactcode.de> Acked-by: Alexander Graf <agraf@suse.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw')
-rw-r--r--hw/applesmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/applesmc.c b/hw/applesmc.c
index 29b93305e2..23ed3287b4 100644
--- a/hw/applesmc.c
+++ b/hw/applesmc.c
@@ -188,7 +188,7 @@ static void qdev_applesmc_isa_reset(DeviceState *dev)
QLIST_REMOVE(d, node);
}
- applesmc_add_key(s, "REV ", 6, "\0x01\0x13\0x0f\0x00\0x00\0x03");
+ applesmc_add_key(s, "REV ", 6, "\x01\x13\x0f\x00\x00\x03");
applesmc_add_key(s, "OSK0", 32, s->osk);
applesmc_add_key(s, "OSK1", 32, s->osk + 32);
applesmc_add_key(s, "NATJ", 1, "\0");