dpif-netlink: add GENEVE creation support
[cascardo/ovs.git] / lib / syslog-direct.c
index 6bc0749..85ca9e2 100644 (file)
@@ -21,7 +21,7 @@
 #include <unistd.h>
 
 #include "compiler.h"
-#include "dynamic-string.h"
+#include "openvswitch/dynamic-string.h"
 #include "socket-util.h"
 #include "syslog-provider.h"
 #include "util.h"
@@ -98,7 +98,7 @@ syslog_direct_log(struct syslogger *this, int pri, const char *msg)
     }
     ds_put_format(&ds, "<%u>%s", pri, msg);
     wire_msg = ds_cstr(&ds);
-    send_len = MIN(strlen(wire_msg), max_len);;
+    send_len = MIN(strlen(wire_msg), max_len);
     while (send(this_->fd, wire_msg, send_len, 0) < 0 && errno == EMSGSIZE) {
         /* If message was too large for send() function then try to discover
          * max_len supported for this particular socket and retry sending a