]> xenbits.xensource.com Git - qemu-upstream-4.6-testing.git/commitdiff
ui/cocoa: Send warning message to stderr, not stdout
authorPeter Maydell <peter.maydell@linaro.org>
Sun, 8 Dec 2013 22:59:04 +0000 (22:59 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Sun, 12 Jan 2014 22:25:12 +0000 (22:25 +0000)
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

ui/cocoa.m

index 1edb944235872e3349c66f02b527f91782598bb0..52498916517f26ccf9c057cb0f0d262cfc998314 100644 (file)
@@ -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];