projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ofproto: Generalize facet_put__() so that it is more useful.
[openvswitch]
/
lib
/
ovsdb-error.c
diff --git
a/lib/ovsdb-error.c
b/lib/ovsdb-error.c
index c9221493dd8fce1dbb0f47007b0190d97908bf55..db8019f385225e8df95bdd11a314b9bb6c80ede5 100644
(file)
--- a/
lib/ovsdb-error.c
+++ b/
lib/ovsdb-error.c
@@
-25,8
+25,7
@@
#include "util.h"
#include "vlog.h"
#include "util.h"
#include "vlog.h"
-#define THIS_MODULE VLM_ovsdb_error
-#include "vlog.h"
+VLOG_DEFINE_THIS_MODULE(ovsdb_error);
struct ovsdb_error {
const char *tag; /* String for "error" member. */
struct ovsdb_error {
const char *tag; /* String for "error" member. */
@@
-87,7
+86,7
@@
ovsdb_syntax_error(const struct json *json, const char *tag,
if (json) {
/* XXX this is much too much information in some cases */
if (json) {
/* XXX this is much too much information in some cases */
- error->syntax = json_to_string(json,
0
);
+ error->syntax = json_to_string(json,
JSSF_SORT
);
}
return error;
}
return error;