diff options
author | Dries Harnie <botje.linux@gmail.com> | 2010-06-07 23:43:21 +0200 |
---|---|---|
committer | Dries Harnie <botje.linux@gmail.com> | 2010-06-07 23:43:21 +0200 |
commit | 38f8467357f731c4ced8548c6bb65e95745c7eff (patch) | |
tree | 634b676ea1e8d9875915e5a4c84e2a75572520bb /android/boot-properties.c | |
parent | d0d9734ce225ca6421caf1decfc12dcc4cb2a58c (diff) | |
download | external_qemu-38f8467357f731c4ced8548c6bb65e95745c7eff.zip external_qemu-38f8467357f731c4ced8548c6bb65e95745c7eff.tar.gz external_qemu-38f8467357f731c4ced8548c6bb65e95745c7eff.tar.bz2 |
qemu-props: Signal end of property list.
Change-Id: I0194413e3ce93ff09aa953f283a22211e93848a1
Diffstat (limited to 'android/boot-properties.c')
-rw-r--r-- | android/boot-properties.c | 4 |
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; } |