Change-Id: I488e7cc84d350df25953dafa7a95240673ea7823
def = mrp_resource_set_get_definition_by_binary(buf);
if (def) {
- effective_class = def->class_name;
+ effective_class = (char *) def->class_name;
effective_priority = def->priority;
effective_auto_release = def->auto_release;
effective_dont_wait = def->dont_wait;
}
/* alignment is fine, since the first argument to the struct is a long */
- write(fd, &msg, sizeof(ASM_msg_lib_to_asm_t));
+ ret = write(fd, &msg, sizeof(ASM_msg_lib_to_asm_t));
+ if (ret < 0)
+ log_write("error writing data to murphy");
}
return NULL;