From mboxrd@z Thu Jan 1 00:00:00 1970 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 From: Peter Maydell Date: Sun, 12 Jan 2014 22:52:32 +0000 Message-Id: <1389567158-31066-4-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1389567158-31066-1-git-send-email-peter.maydell@linaro.org> References: <1389567158-31066-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PULL 3/9] ui/cocoa: Send warning message to stderr, not stdout List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Blue Swirl , =?UTF-8?q?Andreas=20F=C3=A4rber?= , qemu-devel@nongnu.org, Aurelien Jarno 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]; -- 1.8.5