projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
netdev-linux: Fix strict aliasing warnings.
[openvswitch]
/
ovsdb
/
log.c
diff --git
a/ovsdb/log.c
b/ovsdb/log.c
index ccb844fdb54a3453f5035ed3bb9bceca1b0a5de3..c0be5f5d6372f1ee08287c186b84cc8fef651566 100644
(file)
--- a/
ovsdb/log.c
+++ b/
ovsdb/log.c
@@
-22,6
+22,7
@@
#include <fcntl.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/stat.h>
#include <unistd.h>
#include "json.h"
#include <unistd.h>
#include "json.h"
@@
-32,10
+33,10
@@
#include "socket-util.h"
#include "transaction.h"
#include "util.h"
#include "socket-util.h"
#include "transaction.h"
#include "util.h"
-
-#define THIS_MODULE VLM_ovsdb_log
#include "vlog.h"
#include "vlog.h"
+VLOG_DEFINE_THIS_MODULE(ovsdb_log);
+
enum ovsdb_log_mode {
OVSDB_LOG_READ,
OVSDB_LOG_WRITE
enum ovsdb_log_mode {
OVSDB_LOG_READ,
OVSDB_LOG_WRITE