diff options
author | René Rebe <rene@exactcode.de> | 2011-03-21 11:33:21 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-03-22 07:42:08 +0100 |
commit | 7f90fa77b8f0dbe2e9d221953b8f9a6af6a3128a (patch) | |
tree | 7883001bf68f2f379c867345c95d920a03c3a00b /hw/applesmc.c | |
parent | adf82011ef33df8e4d2421e957ccdbd5bbd12ad1 (diff) | |
download | qemu-7f90fa77b8f0dbe2e9d221953b8f9a6af6a3128a.zip qemu-7f90fa77b8f0dbe2e9d221953b8f9a6af6a3128a.tar.gz qemu-7f90fa77b8f0dbe2e9d221953b8f9a6af6a3128a.tar.bz2 |
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/applesmc.c')
-rw-r--r-- | hw/applesmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/applesmc.c b/hw/applesmc.c index 29b9330..23ed328 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"); |