git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
set SHELL=/bin/bash, the only shell we have tested
[sliver-openvswitch.git]
/
ovsdb
/
ovsdb-tool.c
diff --git
a/ovsdb/ovsdb-tool.c
b/ovsdb/ovsdb-tool.c
index
f31bdd1
..
6b75f49
100644
(file)
--- a/
ovsdb/ovsdb-tool.c
+++ b/
ovsdb/ovsdb-tool.c
@@
-229,14
+229,14
@@
compact_or_convert(const char *src_name_, const char *dst_name_,
/* Lock the source, if we will be replacing it. */
if (in_place) {
/* Lock the source, if we will be replacing it. */
if (in_place) {
- retval = lockfile_lock(src_name,
0,
&src_lock);
+ retval = lockfile_lock(src_name, &src_lock);
if (retval) {
ovs_fatal(retval, "%s: failed to lock lockfile", src_name);
}
}
/* Get (temporary) destination and lock it. */
if (retval) {
ovs_fatal(retval, "%s: failed to lock lockfile", src_name);
}
}
/* Get (temporary) destination and lock it. */
- retval = lockfile_lock(dst_name,
0,
&dst_lock);
+ retval = lockfile_lock(dst_name, &dst_lock);
if (retval) {
ovs_fatal(retval, "%s: failed to lock lockfile", dst_name);
}
if (retval) {
ovs_fatal(retval, "%s: failed to lock lockfile", dst_name);
}