aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--android/boot-properties.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/android/boot-properties.c b/android/boot-properties.c
index 19941a0..7810b0d 100644
--- a/android/boot-properties.c
+++ b/android/boot-properties.c
@@ -134,6 +134,10 @@ boot_property_client_recv( void* opaque,
for (prop = _boot_properties; prop != NULL; prop = prop->next) {
qemud_client_send(client, (uint8_t*)prop->property, prop->length);
}
+
+ /* Send a NUL to signal the end of the list. */
+ qemud_client_send(client, (uint8_t*)"", 1);
+
qemud_client_close(client);
return;
}