aboutsummaryrefslogtreecommitdiffstats
path: root/android/protocol/ui-commands-impl.c
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-02-02 12:12:53 -0800
committerAndroid Code Review <code-review@android.com>2011-02-02 12:12:53 -0800
commitd6eda1d7b357746ad8d9a4c80dc0235ef56c40e0 (patch)
treeb669e7b99c01bd8aafd2079321c8cb80302454e0 /android/protocol/ui-commands-impl.c
parentce747472342237e882369e486254684ab7708362 (diff)
parent07db34976ba1dd045a51c4ab2c7f52479cddcc57 (diff)
downloadexternal_qemu-d6eda1d7b357746ad8d9a4c80dc0235ef56c40e0.zip
external_qemu-d6eda1d7b357746ad8d9a4c80dc0235ef56c40e0.tar.gz
external_qemu-d6eda1d7b357746ad8d9a4c80dc0235ef56c40e0.tar.bz2
Merge changes Icd076267,I6d5ad6ec
* changes: Simplify UI-only sources. Simplify core framebuffer management.
Diffstat (limited to 'android/protocol/ui-commands-impl.c')
-rw-r--r--android/protocol/ui-commands-impl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/protocol/ui-commands-impl.c b/android/protocol/ui-commands-impl.c
index f265514..2ca4194 100644
--- a/android/protocol/ui-commands-impl.c
+++ b/android/protocol/ui-commands-impl.c
@@ -124,7 +124,7 @@ _uiCmdImpl_io_read(void* opaque)
status = read(uicmd->sock, uicmd->reader_buffer + uicmd->reader_offset,
uicmd->reader_bytes - uicmd->reader_offset);
if (status == 0) {
- /* Disconnection, meaning that the core process got termonated. */
+ /* Disconnection, meaning that the core process got terminated. */
fprintf(stderr, "core-ui-control service got disconnected\n");
uiCmdImpl_destroy();
return;
@@ -201,7 +201,7 @@ uiCmdImpl_create(SockAddress* console_socket)
return -1;
}
- // Initialze UI command reader.
+ // Initialize UI command reader.
_uiCmdImpl.sock = core_connection_get_socket(_uiCmdImpl.core_connection);
if (qemu_set_fd_handler(_uiCmdImpl.sock, _uiCmdImpl_io_read, NULL,
&_uiCmdImpl)) {