projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
random: Get random seed from /dev/urandom.
[openvswitch]
/
ovsdb
/
log.c
diff --git
a/ovsdb/log.c
b/ovsdb/log.c
index ccb844fdb54a3453f5035ed3bb9bceca1b0a5de3..b532f7c0a6cd7bf5406a252ac2aa962b947d6d1e 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