Received: from eggs.gnu.org ([2001:4830:134:3::10]:42308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpnJe-0004j9-Cn for qemu-devel@nongnu.org; Sun, 08 Dec 2013 17:59:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VpnJd-0003Lt-Ff for qemu-devel@nongnu.org; Sun, 08 Dec 2013 17:59:10 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:43203) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpnJd-0003Lb-5S for qemu-devel@nongnu.org; Sun, 08 Dec 2013 17:59:09 -0500 From: Peter Maydell Date: Sun, 8 Dec 2013 22:59:04 +0000 Message-Id: <1386543546-31919-4-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1386543546-31919-1-git-send-email-peter.maydell@linaro.org> References: <1386543546-31919-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 3/5] ui/cocoa: Send warning message to stderr, not stdout List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Andreas=20F=C3=A4rber?= , patches@linaro.org 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]; -- 1.7.11.4