aboutsummaryrefslogtreecommitdiffstats
path: root/tools/hv/hv_kvp_daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/hv/hv_kvp_daemon.c')
-rw-r--r--tools/hv/hv_kvp_daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hv/hv_kvp_daemon.c b/tools/hv/hv_kvp_daemon.c
index 4ebf70380582..00d3f7c099e0 100644
--- a/tools/hv/hv_kvp_daemon.c
+++ b/tools/hv/hv_kvp_daemon.c
@@ -378,7 +378,7 @@ int main(void)
378 * Driver is registering with us; stash away the version 378 * Driver is registering with us; stash away the version
379 * information. 379 * information.
380 */ 380 */
381 p = (char *)hv_msg->body.kvp_version; 381 p = (char *)hv_msg->body.kvp_register.version;
382 lic_version = malloc(strlen(p) + 1); 382 lic_version = malloc(strlen(p) + 1);
383 if (lic_version) { 383 if (lic_version) {
384 strcpy(lic_version, p); 384 strcpy(lic_version, p);