From patchwork Mon Sep 13 18:38:02 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Weil X-Patchwork-Id: 64624 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id EC98AB6F14 for ; Tue, 14 Sep 2010 04:43:41 +1000 (EST) Received: from localhost ([127.0.0.1]:54163 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvDxE-00088t-MR for incoming@patchwork.ozlabs.org; Mon, 13 Sep 2010 14:40:36 -0400 Received: from [140.186.70.92] (port=53529 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvDvs-00074V-VA for qemu-devel@nongnu.org; Mon, 13 Sep 2010 14:39:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OvDv2-0000FI-M1 for qemu-devel@nongnu.org; Mon, 13 Sep 2010 14:38:21 -0400 Received: from moutng.kundenserver.de ([212.227.17.10]:55462) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OvDv2-0000Dk-AN for qemu-devel@nongnu.org; Mon, 13 Sep 2010 14:38:20 -0400 Received: from flocke.weilnetz.de (p54ADB004.dip.t-dialin.net [84.173.176.4]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0MPKo0-1Ozdlc2kIC-004R8O; Mon, 13 Sep 2010 20:38:04 +0200 Received: from stefan by flocke.weilnetz.de with local (Exim 4.72) (envelope-from ) id 1OvDul-000276-NJ; Mon, 13 Sep 2010 20:38:03 +0200 From: Stefan Weil To: QEMU Developers Date: Mon, 13 Sep 2010 20:38:02 +0200 Message-Id: <1284403082-8097-1-git-send-email-weil@mail.berlios.de> X-Mailer: git-send-email 1.7.1 X-Provags-ID: V02:K0:MFZSkzcBgeavitMyyoaODj/a6sfrd+1Iq2Y239af/pH 1fw+b1uUm5CBlKTuHSccRnu0HQz9f0fw70TqKcE3shXb9jN5ek d9ggT8xZZCw69rbrxMWZF2iP1zBRHFOSUZDH+oU2C1RHqAi08G k6vt55nPbx6BKJKpLF9M/r4PpTKPsCyyLkA4ZILKADOSl/S745 f9wLv66ojU1J89hkG96CLSA4mldLvdRRaqzdP03A26BlmLjZBh guRY8pIJw3CIT X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Cc: Riku Voipio Subject: [Qemu-devel] [PATCH] linux-user: Fix type m86k -> m68k X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Replace m86k_sim_stat by m68k_sim_stat. Cc: Riku Voipio Signed-off-by: Stefan Weil --- linux-user/m68k-sim.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/linux-user/m68k-sim.c b/linux-user/m68k-sim.c index 64d3b23..d5926ee 100644 --- a/linux-user/m68k-sim.c +++ b/linux-user/m68k-sim.c @@ -38,7 +38,7 @@ #define SYS_ISATTY 29 #define SYS_LSEEK 199 -struct m86k_sim_stat { +struct m68k_sim_stat { uint16_t sim_st_dev; uint16_t sim_st_ino; uint32_t sim_st_mode; @@ -138,10 +138,10 @@ void do_m68k_simcall(CPUM68KState *env, int nr) { struct stat s; int rc; - struct m86k_sim_stat *p; + struct m68k_sim_stat *p; rc = check_err(env, fstat(ARG(0), &s)); if (rc == 0) { - p = (struct m86k_sim_stat *)(unsigned long)ARG(1); + p = (struct m68k_sim_stat *)(unsigned long)ARG(1); p->sim_st_dev = tswap16(s.st_dev); p->sim_st_ino = tswap16(s.st_ino); p->sim_st_mode = tswap32(s.st_mode);