aboutsummaryrefslogtreecommitdiff
path: root/ui/cocoa.m
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2013-12-08 22:59:04 +0000
committerPeter Maydell <peter.maydell@linaro.org>2014-01-12 22:25:12 +0000
commit01cc4e6fd7d364c6c401c579d504d82c0523d67e (patch)
tree06f2668360b946e0826672cc58c05a2d84f35d84 /ui/cocoa.m
parent49b9bd4dccac26178a4796367e4358bd67f4f59b (diff)
downloadqemu-arm-01cc4e6fd7d364c6c401c579d504d82c0523d67e.tar.gz
ui/cocoa: Send warning message to stderr, not stdout
Bring a warning message into line with the others in this file by sending it to stderr, not stdout. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1386543546-31919-4-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'ui/cocoa.m')
-rw-r--r--ui/cocoa.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/cocoa.m b/ui/cocoa.m
index 1edb944235..5249891651 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];