X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fvlog.c;h=0bd9bd135892b7d26d343f24cc327d02b0b2ad6d;hb=1bf6eeb0ac46d32e9a608a9d3ec28d3145f9adf8;hp=683cdfcf02ac00dbe50cb5dce52bc2410cd23749;hpb=ebc56baa41db060b8783051e67b6fcbc148ebd60;p=openvswitch diff --git a/lib/vlog.c b/lib/vlog.c index 683cdfcf..0bd9bd13 100644 --- a/lib/vlog.c +++ b/lib/vlog.c @@ -892,7 +892,7 @@ vlog_write_file(struct ds *s) 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)); } } @@ -918,6 +918,6 @@ vlog_async_write_request_cb(struct ofpbuf *request, } if (request->size > 0) { - write(log_fd, request->data, request->size); + ignore(write(log_fd, request->data, request->size)); } }