projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ovs-ctl.in: Don't stop forwarding while restarting the database.
[openvswitch]
/
tests
/
test-vconn.c
diff --git
a/tests/test-vconn.c
b/tests/test-vconn.c
index 3398c4aa3d0f2d1aede5dd3bc193473d48e8c0e7..31451a27e43dcc920011d08b3e5f7f6fac989608 100644
(file)
--- a/
tests/test-vconn.c
+++ b/
tests/test-vconn.c
@@
-56,8
+56,9
@@
static void
check_errno(int a, int b, const char *as, const char *file, int line)
{
if (a != b) {
check_errno(int a, int b, const char *as, const char *file, int line)
{
if (a != b) {
+ char *str_b = strdup(strerror(abs(b)));
ovs_fatal(0, "%s:%d: %s is %d (%s) but should be %d (%s)",
ovs_fatal(0, "%s:%d: %s is %d (%s) but should be %d (%s)",
- file, line, as, a, strerror(abs(a)), b, str
error(abs(b))
);
+ file, line, as, a, strerror(abs(a)), b, str
_b
);
}
}
}
}