From patchwork Sun Dec 8 22:59:04 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 22145 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f200.google.com (mail-ie0-f200.google.com [209.85.223.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A14C625E0B for ; Sun, 8 Dec 2013 22:59:11 +0000 (UTC) Received: by mail-ie0-f200.google.com with SMTP id at1sf11506794iec.11 for ; Sun, 08 Dec 2013 14:59:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=utYxIN1KL3VP1hlzeNckl6LYK7ZXAr/scY7iFWyJX6A=; b=OaMK9vZPanxFb0GqaUSHFHJl9uMQvvItNZQoPy67gBU4oFJHWkQ+sGjdCjCEgAA0Ju C5kFl7Kzmw+zeUI6iU3r+KBxrb13GIbGF6PZq/fQqeC015Fs2C0+M+iRp8LkoppgS6Ml SdoccbffB8eFNds7mYwPR/SuQdwppZHeBzI+rH4ZuY9sf7XI6I73mSUekI2cstj2v7TV nDmeqONF0BgfEjGKuG4DnDDKZgJUH6ic/fcr6VKfqyHgH3DxEcHA7BYYbH5QLfwe2yDl YBJrrRmw06Nmwy9XpV6hnFSSH/PYZGBvUbbywpahxy5zHiROaIYEdwr7sdrgQ12unm5T qibQ== X-Gm-Message-State: ALoCoQnj6yw+KqATik9E2NzWy0fGkHwYGzUX7PX5SyhUe+iArdOXNw3cOqa+DlGb9O56ifyMdsgv X-Received: by 10.43.152.202 with SMTP id kx10mr31161261icc.3.1386543551041; Sun, 08 Dec 2013 14:59:11 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.82.49 with SMTP id f17ls1927612qey.54.gmail; Sun, 08 Dec 2013 14:59:10 -0800 (PST) X-Received: by 10.52.50.177 with SMTP id d17mr349559vdo.23.1386543550943; Sun, 08 Dec 2013 14:59:10 -0800 (PST) Received: from mail-vb0-f51.google.com (mail-vb0-f51.google.com [209.85.212.51]) by mx.google.com with ESMTPS id ud10si2859177vcb.141.2013.12.08.14.59.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 08 Dec 2013 14:59:10 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.51 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.51; Received: by mail-vb0-f51.google.com with SMTP id 11so12270vbe.10 for ; Sun, 08 Dec 2013 14:59:10 -0800 (PST) X-Received: by 10.58.255.195 with SMTP id as3mr259819ved.50.1386543550872; Sun, 08 Dec 2013 14:59:10 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp65224vcz; Sun, 8 Dec 2013 14:59:10 -0800 (PST) X-Received: by 10.14.6.136 with SMTP id 8mr10380765een.11.1386543548570; Sun, 08 Dec 2013 14:59:08 -0800 (PST) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [81.2.115.146]) by mx.google.com with ESMTPS id r9si7109589eeo.65.2013.12.08.14.59.08 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 08 Dec 2013 14:59:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) client-ip=81.2.115.146; Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1VpnJb-0008JT-24; Sun, 08 Dec 2013 22:59:07 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, =?UTF-8?q?Andreas=20F=C3=A4rber?= Subject: [PATCH 3/5] ui/cocoa: Send warning message to stderr, not stdout Date: Sun, 8 Dec 2013 22:59:04 +0000 Message-Id: <1386543546-31919-4-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1386543546-31919-1-git-send-email-peter.maydell@linaro.org> References: <1386543546-31919-1-git-send-email-peter.maydell@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.51 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Bring a warning message into line with the others in this file by sending it to stderr, not stdout, and fix a typo in it. Signed-off-by: Peter Maydell --- ui/cocoa.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/cocoa.m b/ui/cocoa.m index f55747f..c5ab5a4 100644 --- a/ui/cocoa.m +++ b/ui/cocoa.m @@ -240,7 +240,7 @@ static int cocoa_keycode_to_qemu(int keycode) { if((sizeof(keymap)/sizeof(int)) <= keycode) { - printf("(cocoa) warning unknow keycode 0x%x\n", keycode); + fprintf(stderr, "(cocoa) warning unknown keycode 0x%x\n", keycode); return 0; } return keymap[keycode];