From patchwork Sun Jan 12 22:52:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 23141 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f199.google.com (mail-pd0-f199.google.com [209.85.192.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D1C64218E8 for ; Sun, 12 Jan 2014 22:53:56 +0000 (UTC) Received: by mail-pd0-f199.google.com with SMTP id y13sf10365665pdi.2 for ; Sun, 12 Jan 2014 14:53:56 -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:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=jC3klYMCqKi4YiQZdxPQSk1c3Sn0iSWivJbCvzY3KDA=; b=DhXBoXpmQ2IvwJwZI/g3/6eUHRz7tktbIvZqQV4mnaDsrPgyUXp03TpDhOFriR9inz kCtghU29ZUeyT7RdFTKoQWzi8F3t+dW+qjBqcq0VLZ81m0xWIplZXymMSN2eLxOpmbgi 4LwKhbgNW0EvU5oEpycflTMyHcXlrJFJebJzaE17mZvLMXNUP6/78c9M3QP5+H+Cxcn1 8duVcehuwUZpTYoSbl0PSI9HrP80PIm7GB0sA4eNuRlAXmF0nJwadhHMwVXH514SNWqf T3EbOEpzwykTF3JLHmIwdi64WRQLCaBi+NoXMLcTzPZyq3HrRN0PqfHmC93MvGdIH/X1 d79w== X-Gm-Message-State: ALoCoQmwLPsFN3yjq0c97DdV5ewbxU+VuCQlglccLqzGYzWcEQLrldnmtKVRdCdK9DOw8ibjW4gQ X-Received: by 10.66.102.36 with SMTP id fl4mr8076688pab.20.1389567235942; Sun, 12 Jan 2014 14:53:55 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.17.65 with SMTP id m1ls2398884qed.91.gmail; Sun, 12 Jan 2014 14:53:55 -0800 (PST) X-Received: by 10.52.185.132 with SMTP id fc4mr13549019vdc.21.1389567235821; Sun, 12 Jan 2014 14:53:55 -0800 (PST) Received: from mail-vb0-f45.google.com (mail-vb0-f45.google.com [209.85.212.45]) by mx.google.com with ESMTPS id ks3si9826487vec.89.2014.01.12.14.53.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 12 Jan 2014 14:53:55 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.45 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.45; Received: by mail-vb0-f45.google.com with SMTP id m10so1772523vbh.18 for ; Sun, 12 Jan 2014 14:53:55 -0800 (PST) X-Received: by 10.52.89.173 with SMTP id bp13mr7578542vdb.5.1389567235746; Sun, 12 Jan 2014 14:53:55 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.59.13.131 with SMTP id ey3csp92900ved; Sun, 12 Jan 2014 14:53:55 -0800 (PST) X-Received: by 10.49.14.131 with SMTP id p3mr6451284qec.50.1389567234904; Sun, 12 Jan 2014 14:53:54 -0800 (PST) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id o8si20622009qec.60.2014.01.12.14.53.54 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 12 Jan 2014 14:53:54 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:39747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2Tuk-0007Fs-0X for patch@linaro.org; Sun, 12 Jan 2014 17:53:54 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2Ttl-00063i-Rf for qemu-devel@nongnu.org; Sun, 12 Jan 2014 17:52:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W2Ttk-000568-9j for qemu-devel@nongnu.org; Sun, 12 Jan 2014 17:52:53 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:44745) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2Ttk-00055e-45 for qemu-devel@nongnu.org; Sun, 12 Jan 2014 17:52:52 -0500 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1W2TtX-00085j-2J; Sun, 12 Jan 2014 22:52:39 +0000 From: Peter Maydell To: Anthony Liguori Date: Sun, 12 Jan 2014 22:52:32 +0000 Message-Id: <1389567158-31066-4-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1389567158-31066-1-git-send-email-peter.maydell@linaro.org> References: <1389567158-31066-1-git-send-email-peter.maydell@linaro.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:8b0:1d0::1 Cc: Blue Swirl , =?UTF-8?q?Andreas=20F=C3=A4rber?= , qemu-devel@nongnu.org, Aurelien Jarno Subject: [Qemu-devel] [PULL 3/9] ui/cocoa: Send warning message to stderr, not stdout X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.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.45 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 Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Bring a warning message into line with the others in this file by sending it to stderr, not stdout. Signed-off-by: Peter Maydell Message-id: 1386543546-31919-4-git-send-email-peter.maydell@linaro.org --- ui/cocoa.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/cocoa.m b/ui/cocoa.m index 1edb944..5249891 100644 --- a/ui/cocoa.m +++ b/ui/cocoa.m @@ -239,7 +239,7 @@ int keymap[] = static int cocoa_keycode_to_qemu(int keycode) { if (ARRAY_SIZE(keymap) <= keycode) { - printf("(cocoa) warning unknown keycode 0x%x\n", keycode); + fprintf(stderr, "(cocoa) warning unknown keycode 0x%x\n", keycode); return 0; } return keymap[keycode];