aboutsummaryrefslogtreecommitdiff
path: root/arch_init.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-06-04 14:45:28 +0200
committerPeter Maydell <peter.maydell@linaro.org>2013-06-14 15:33:12 +0100
commitc02a9552a4c89f2fdf23defe1d2c13b834ae3a4a (patch)
tree380af8df3a11f58085bcf2266e44fb876b005613 /arch_init.c
parent2e59915d4375b632964c0594799fd5876958eda6 (diff)
downloadqemu-c02a9552a4c89f2fdf23defe1d2c13b834ae3a4a.zip
qemu-c02a9552a4c89f2fdf23defe1d2c13b834ae3a4a.tar.gz
qemu-c02a9552a4c89f2fdf23defe1d2c13b834ae3a4a.tar.bz2
build: drop TARGET_TYPE
Just use the TARGET_NAME free string. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 1370349928-20419-6-git-send-email-pbonzini@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'arch_init.c')
-rw-r--r--arch_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch_init.c b/arch_init.c
index 23ca953..699c927 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -1094,7 +1094,7 @@ TargetInfo *qmp_query_target(Error **errp)
{
TargetInfo *info = g_malloc0(sizeof(*info));
- info->arch = TARGET_TYPE;
+ info->arch = g_strdup(TARGET_NAME);
return info;
}