vlog_fatal_valist(const struct vlog_module *module_,
const char *message, va_list args)
{
- struct vlog_module *module = (struct vlog_module *) module_;
+ struct vlog_module *module = CONST_CAST(struct vlog_module *, module_);
/* Don't log this message to the console to avoid redundancy with the
* message written by the later ovs_fatal_valist(). */
vlog_async_write_request_cb, NULL, NULL);
vlog_async_inited = true;
} else {
- write(log_fd, s->string, s->length);
+ ignore(write(log_fd, s->string, s->length));
}
}
}
if (request->size > 0) {
- write(log_fd, request->data, request->size);
+ ignore(write(log_fd, request->data, request->size));
}
}