X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fstream-fd.c;h=ad15dca7ec62cf4a9f40cb71823a2e661fbf324d;hb=d530fcd2425c2443c1a1c093903b6932c4c5814c;hp=cc897b3d9f56186e31da32212eac3c85a9aa8fdd;hpb=3762274e6359f4afe04107851f4c71347fa0afa0;p=openvswitch diff --git a/lib/stream-fd.c b/lib/stream-fd.c index cc897b3d..ad15dca7 100644 --- a/lib/stream-fd.c +++ b/lib/stream-fd.c @@ -31,9 +31,9 @@ #include "util.h" #include "stream-provider.h" #include "stream.h" - #include "vlog.h" -#define THIS_MODULE VLM_stream_fd + +VLOG_DEFINE_THIS_MODULE(stream_fd); /* Active file descriptor stream. */ @@ -214,7 +214,7 @@ pfd_accept(struct pstream *pstream, struct stream **new_streamp) new_fd = accept(ps->fd, (struct sockaddr *) &ss, &ss_len); if (new_fd < 0) { - int retval = errno; + retval = errno; if (retval != EAGAIN) { VLOG_DBG_RL(&rl, "accept: %s", strerror(retval)); }